forked from mid-kid/pokecrystal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFightingDojo.asm
58 lines (42 loc) · 1.27 KB
/
FightingDojo.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
object_const_def ; object_event constants
const FIGHTINGDOJO_BLACK_BELT
const FIGHTINGDOJO_POKE_BALL
FightingDojo_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
FightingDojoBlackBelt:
jumptextfaceplayer FightingDojoBlackBeltText
FightingDojoSign1:
jumptext FightingDojoSign1Text
FightingDojoSign2:
jumptext FightingDojoSign2Text
FightingDojoFocusBand:
itemball FOCUS_BAND
FightingDojoBlackBeltText:
text "Hello!"
para "KARATE KING, the"
line "FIGHTING DOJO's"
para "master, is in a"
line "cave in JOHTO for"
cont "training."
done
FightingDojoSign1Text:
text "What goes around"
line "comes around!"
done
FightingDojoSign2Text:
text "Enemies on every"
line "side!"
done
FightingDojo_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 4, 11, SAFFRON_CITY, 1
warp_event 5, 11, SAFFRON_CITY, 1
db 0 ; coord events
db 2 ; bg events
bg_event 4, 0, BGEVENT_READ, FightingDojoSign1
bg_event 5, 0, BGEVENT_READ, FightingDojoSign2
db 2 ; object events
object_event 4, 4, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FightingDojoBlackBelt, -1
object_event 3, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, FightingDojoFocusBand, EVENT_PICKED_UP_FOCUS_BAND