summaryrefslogtreecommitdiff
path: root/maps/DanceTheatre.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/DanceTheatre.asm')
-rw-r--r--maps/DanceTheatre.asm266
1 files changed, 70 insertions, 196 deletions
diff --git a/maps/DanceTheatre.asm b/maps/DanceTheatre.asm
index 830766e38..af863699e 100644
--- a/maps/DanceTheatre.asm
+++ b/maps/DanceTheatre.asm
@@ -1,157 +1,66 @@
-DanceTheatre_MapScriptHeader: ; 0x99460
- ; trigger count
+DanceTheatre_MapScriptHeader:
+.MapTriggers:
db 0
- ; callback count
+.MapCallbacks:
db 0
-; 0x99462
-TrainerKimono_girlNaoko2: ; 0x99462
- ; bit/flag number
- dw $4df
+TrainerKimono_girlNaoko2:
+ trainer EVENT_BEAT_KIMONO_GIRL_NAOKO, KIMONO_GIRL, NAOKO2, Kimono_girlNaoko2SeenText, Kimono_girlNaoko2BeatenText, $0000, Kimono_girlNaoko2Script
- ; trainer group && trainer id
- db KIMONO_GIRL, NAOKO2
-
- ; text when seen
- dw Kimono_girlNaoko2SeenText
-
- ; text when trainer beaten
- dw Kimono_girlNaoko2BeatenText
-
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw Kimono_girlNaoko2Script
-; 0x9946e
-
-Kimono_girlNaoko2Script: ; 0x9946e
+Kimono_girlNaoko2Script:
talkaftercancel
loadfont
writetext UnknownText_0x99579
closetext
loadmovesprites
end
-; 0x99476
-
-TrainerKimono_girlSayo: ; 0x99476
- ; bit/flag number
- dw $4e0
-
- ; trainer group && trainer id
- db KIMONO_GIRL, SAYO
- ; text when seen
- dw Kimono_girlSayoSeenText
+TrainerKimono_girlSayo:
+ trainer EVENT_BEAT_KIMONO_GIRL_SAYO, KIMONO_GIRL, SAYO, Kimono_girlSayoSeenText, Kimono_girlSayoBeatenText, $0000, Kimono_girlSayoScript
- ; text when trainer beaten
- dw Kimono_girlSayoBeatenText
-
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw Kimono_girlSayoScript
-; 0x99482
-
-Kimono_girlSayoScript: ; 0x99482
+Kimono_girlSayoScript:
talkaftercancel
loadfont
writetext UnknownText_0x9960b
closetext
loadmovesprites
end
-; 0x9948a
-
-TrainerKimono_girlZuki: ; 0x9948a
- ; bit/flag number
- dw $4e1
-
- ; trainer group && trainer id
- db KIMONO_GIRL, ZUKI
-
- ; text when seen
- dw Kimono_girlZukiSeenText
- ; text when trainer beaten
- dw Kimono_girlZukiBeatenText
+TrainerKimono_girlZuki:
+ trainer EVENT_BEAT_KIMONO_GIRL_ZUKI, KIMONO_GIRL, ZUKI, Kimono_girlZukiSeenText, Kimono_girlZukiBeatenText, $0000, Kimono_girlZukiScript
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw Kimono_girlZukiScript
-; 0x99496
-
-Kimono_girlZukiScript: ; 0x99496
+Kimono_girlZukiScript:
talkaftercancel
loadfont
writetext UnknownText_0x99688
closetext
loadmovesprites
end
-; 0x9949e
-
-TrainerKimono_girlKuni: ; 0x9949e
- ; bit/flag number
- dw $4e2
-
- ; trainer group && trainer id
- db KIMONO_GIRL, KUNI
-
- ; text when seen
- dw Kimono_girlKuniSeenText
-
- ; text when trainer beaten
- dw Kimono_girlKuniBeatenText
- ; script when lost
- dw $0000
+TrainerKimono_girlKuni:
+ trainer EVENT_BEAT_KIMONO_GIRL_KUNI, KIMONO_GIRL, KUNI, Kimono_girlKuniSeenText, Kimono_girlKuniBeatenText, $0000, Kimono_girlKuniScript
- ; script when talk again
- dw Kimono_girlKuniScript
-; 0x994aa
-
-Kimono_girlKuniScript: ; 0x994aa
+Kimono_girlKuniScript:
talkaftercancel
loadfont
writetext UnknownText_0x99714
closetext
loadmovesprites
end
-; 0x994b2
-
-TrainerKimono_girlMiki: ; 0x994b2
- ; bit/flag number
- dw $4e3
-
- ; trainer group && trainer id
- db KIMONO_GIRL, MIKI
-
- ; text when seen
- dw Kimono_girlMikiSeenText
-
- ; text when trainer beaten
- dw Kimono_girlMikiBeatenText
-
- ; script when lost
- dw $0000
- ; script when talk again
- dw Kimono_girlMikiScript
-; 0x994be
+TrainerKimono_girlMiki:
+ trainer EVENT_BEAT_KIMONO_GIRL_MIKI, KIMONO_GIRL, MIKI, Kimono_girlMikiSeenText, Kimono_girlMikiBeatenText, $0000, Kimono_girlMikiScript
-Kimono_girlMikiScript: ; 0x994be
+Kimono_girlMikiScript:
talkaftercancel
loadfont
writetext UnknownText_0x997a8
closetext
loadmovesprites
end
-; 0x994c6
-GentlemanScript_0x994c6: ; 0x994c6
+GentlemanScript_0x994c6:
faceplayer
loadfont
writetext UnknownText_0x9980a
@@ -169,165 +78,142 @@ GentlemanScript_0x994c6: ; 0x994c6
checkevent EVENT_BEAT_KIMONO_GIRL_MIKI
iffalse UnknownScript_0x994f3
jump UnknownScript_0x99505
-; 0x994f3
-UnknownScript_0x994f3: ; 0x994f3
- checkflag $0063
+UnknownScript_0x994f3:
+ checkflag ENGINE_PLAYER_IS_FEMALE
iftrue UnknownScript_0x994ff
writetext UnknownText_0x99891
closetext
loadmovesprites
end
-; 0x994ff
-UnknownScript_0x994ff: ; 0x994ff
+UnknownScript_0x994ff:
writetext UnknownText_0x998d4
closetext
loadmovesprites
end
-; 0x99505
-UnknownScript_0x99505: ; 0x99505
+UnknownScript_0x99505:
writetext UnknownText_0x9991a
keeptextopen
- verbosegiveitem HM_03, 1
+ verbosegiveitem HM_SURF, 1
setevent EVENT_GOT_HM03_SURF
writetext UnknownText_0x9999b
closetext
loadmovesprites
end
-; 0x99515
-UnknownScript_0x99515: ; 0x99515
+UnknownScript_0x99515:
writetext UnknownText_0x999d5
closetext
loadmovesprites
end
-; 0x9951b
-RhydonScript_0x9951b: ; 0x9951b
+RhydonScript_0x9951b:
loadfont
writetext UnknownText_0x99a0a
cry RHYDON
closetext
loadmovesprites
end
-; 0x99525
-CooltrainerMScript_0x99525: ; 0x99525
+CooltrainerMScript_0x99525:
jumptextfaceplayer UnknownText_0x99a24
-; 0x99528
-GrannyScript_0x99528: ; 0x99528
+GrannyScript_0x99528:
jumptextfaceplayer UnknownText_0x99aaa
-; 0x9952b
-MapDanceTheatreSignpost1Script: ; 0x9952b
+MapDanceTheatreSignpost1Script:
jumptext UnknownText_0x99b79
-; 0x9952e
-Kimono_girlNaoko2SeenText: ; 0x9952e
+Kimono_girlNaoko2SeenText:
text "You have lovely"
line "#MON. May I see"
cont "them in battle?"
done
-; 0x9955f
-Kimono_girlNaoko2BeatenText: ; 0x9955f
+Kimono_girlNaoko2BeatenText:
text "Oh, you are very"
line "strong."
done
-; 0x99579
-UnknownText_0x99579: ; 0x99579
+UnknownText_0x99579:
text "I enjoyed that"
line "bout. I would like"
cont "to see you again."
done
-; 0x995ae
-Kimono_girlSayoSeenText: ; 0x995ae
+Kimono_girlSayoSeenText:
text "I always dance"
line "with my #MON."
para "Of course, I also"
line "train them."
done
-; 0x995ea
-Kimono_girlSayoBeatenText: ; 0x995ea
+Kimono_girlSayoBeatenText:
text "Oh, so close!"
line "I almost had you."
done
-; 0x9960b
-UnknownText_0x9960b: ; 0x9960b
+UnknownText_0x9960b:
text "Rhythm is impor-"
line "tant for both"
para "dancing and #-"
line "MON."
done
-; 0x9963f
-Kimono_girlZukiSeenText: ; 0x9963f
+Kimono_girlZukiSeenText:
text "Isn't my barrette"
line "pretty?"
para "Oh. A #MON"
line "battle?"
done
-; 0x9966c
-Kimono_girlZukiBeatenText: ; 0x9966c
+Kimono_girlZukiBeatenText:
text "I don't have any"
line "#MON left…"
done
-; 0x99688
-UnknownText_0x99688: ; 0x99688
+UnknownText_0x99688:
text "I put a different"
line "flower in my bar-"
cont "rette every month."
done
-; 0x996c0
-Kimono_girlKuniSeenText: ; 0x996c0
+Kimono_girlKuniSeenText:
text "Oh, you're a cute"
line "trainer. Would you"
cont "like to battle?"
done
-; 0x996f5
-Kimono_girlKuniBeatenText: ; 0x996f5
+Kimono_girlKuniBeatenText:
text "You're stronger"
line "than you look."
done
-; 0x99714
-UnknownText_0x99714: ; 0x99714
+UnknownText_0x99714:
text "I trained a lot,"
line "so I thought I was"
para "a capable trainer."
line "I guess I'm not."
done
-; 0x9975c
-Kimono_girlMikiSeenText: ; 0x9975c
+Kimono_girlMikiSeenText:
text "Do you like my"
line "dancing? I'm good"
cont "at #MON too."
done
-; 0x9978a
-Kimono_girlMikiBeatenText: ; 0x9978a
+Kimono_girlMikiBeatenText:
text "Ooh, you're good"
line "at #MON too."
done
-; 0x997a8
-UnknownText_0x997a8: ; 0x997a8
+UnknownText_0x997a8:
text "I can keep dancing"
line "because there are"
@@ -337,9 +223,8 @@ UnknownText_0x997a8: ; 0x997a8
para "My #MON keep my"
line "spirits up too."
done
-; 0x9980a
-UnknownText_0x9980a: ; 0x9980a
+UnknownText_0x9980a:
text "Not only are the"
line "KIMONO GIRLS great"
@@ -353,27 +238,24 @@ UnknownText_0x9980a: ; 0x9980a
para "never even left a"
line "scratch…"
done
-; 0x99891
-UnknownText_0x99891: ; 0x99891
+UnknownText_0x99891:
text "Lad! If you can"
line "defeat all the"
para "KIMONO GIRLS, I'll"
line "give you a gift."
done
-; 0x998d4
-UnknownText_0x998d4: ; 0x998d4
+UnknownText_0x998d4:
text "Lassie, if you can"
line "defeat all the"
para "KIMONO GIRLS, I'll"
line "give you a gift."
done
-; 0x9991a
-UnknownText_0x9991a: ; 0x9991a
+UnknownText_0x9991a:
text "The way you bat-"
line "tled, it was like"
cont "watching a dance."
@@ -385,31 +267,27 @@ UnknownText_0x9991a: ; 0x9991a
line "this. Don't worry"
cont "--take it!"
done
-; 0x9999b
-UnknownText_0x9999b: ; 0x9999b
+UnknownText_0x9999b:
text "That's SURF."
para "It's a move that"
line "lets #MON swim"
cont "across water."
done
-; 0x999d5
-UnknownText_0x999d5: ; 0x999d5
+UnknownText_0x999d5:
text "I wish my #MON"
line "were as elegant as"
cont "the KIMONO GIRLS…"
done
-; 0x99a0a
-UnknownText_0x99a0a: ; 0x99a0a
+UnknownText_0x99a0a:
text "RHYDON: Gugooh"
line "gugogooh!"
done
-; 0x99a24
-UnknownText_0x99a24: ; 0x99a24
+UnknownText_0x99a24:
text "That man's always"
line "with his RHYDON."
@@ -422,9 +300,8 @@ UnknownText_0x99a24: ; 0x99a24
cont "nized swimming"
cont "#MON?"
done
-; 0x99aaa
-UnknownText_0x99aaa: ; 0x99aaa
+UnknownText_0x99aaa:
text "The KIMONO GIRLS"
line "are so beautiful…"
@@ -442,41 +319,38 @@ UnknownText_0x99aaa: ; 0x99aaa
line "something, any-"
cont "thing is possible."
done
-; 0x99b79
-UnknownText_0x99b79: ; 0x99b79
+UnknownText_0x99b79:
text "It's a fancy panel"
line "that's decorated"
cont "with flowers."
done
-; 0x99baa
-DanceTheatre_MapEventHeader: ; 0x99baa
+DanceTheatre_MapEventHeader:
; filler
db 0, 0
- ; warps
+.Warps:
db 2
warp_def $d, $5, 8, GROUP_ECRUTEAK_CITY, MAP_ECRUTEAK_CITY
warp_def $d, $6, 8, GROUP_ECRUTEAK_CITY, MAP_ECRUTEAK_CITY
- ; xy triggers
+.XYTriggers:
db 0
- ; signposts
+.Signposts:
db 2
- signpost 6, 5, $1, MapDanceTheatreSignpost1Script
- signpost 6, 6, $1, MapDanceTheatreSignpost1Script
+ signpost 6, 5, SIGNPOST_UP, MapDanceTheatreSignpost1Script
+ signpost 6, 6, SIGNPOST_UP, MapDanceTheatreSignpost1Script
- ; people-events
+.PersonEvents:
db 9
- person_event SPRITE_KIMONO_GIRL, 6, 4, $1e, $0, 255, 255, $a2, 0, TrainerKimono_girlNaoko2, $ffff
- person_event SPRITE_KIMONO_GIRL, 5, 6, $a, $0, 255, 255, $92, 0, TrainerKimono_girlSayo, $ffff
- person_event SPRITE_KIMONO_GIRL, 6, 10, $3, $0, 255, 255, $82, 0, TrainerKimono_girlZuki, $ffff
- person_event SPRITE_KIMONO_GIRL, 5, 13, $a, $0, 255, 255, $92, 0, TrainerKimono_girlKuni, $ffff
- person_event SPRITE_KIMONO_GIRL, 6, 15, $1f, $0, 255, 255, $a2, 0, TrainerKimono_girlMiki, $ffff
- person_event SPRITE_GENTLEMAN, 14, 11, $7, $0, 255, 255, $0, 0, GentlemanScript_0x994c6, $ffff
- person_event SPRITE_RHYDON, 12, 10, $16, $0, 255, 255, $90, 0, RhydonScript_0x9951b, $ffff
- person_event SPRITE_COOLTRAINER_M, 14, 14, $8, $0, 255, 255, $80, 0, CooltrainerMScript_0x99525, $ffff
- person_event SPRITE_GRANNY, 10, 7, $7, $0, 255, 255, $0, 0, GrannyScript_0x99528, $ffff
-; 0x99c39
+ person_event SPRITE_KIMONO_GIRL, 6, 4, OW_RIGHT | $12, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 0, TrainerKimono_girlNaoko2, -1
+ person_event SPRITE_KIMONO_GIRL, 5, 6, OW_LEFT | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 0, TrainerKimono_girlSayo, -1
+ person_event SPRITE_KIMONO_GIRL, 6, 10, OW_DOWN | $3, $0, -1, -1, (PAL_OW_RED << 4) | $82, 0, TrainerKimono_girlZuki, -1
+ person_event SPRITE_KIMONO_GIRL, 5, 13, OW_LEFT | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 0, TrainerKimono_girlKuni, -1
+ person_event SPRITE_KIMONO_GIRL, 6, 15, OW_RIGHT | $13, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 0, TrainerKimono_girlMiki, -1
+ person_event SPRITE_GENTLEMAN, 14, 11, OW_UP | $3, $0, -1, -1, $0, 0, GentlemanScript_0x994c6, -1
+ person_event SPRITE_RHYDON, 12, 10, OW_UP | $12, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, RhydonScript_0x9951b, -1
+ person_event SPRITE_COOLTRAINER_M, 14, 14, OW_LEFT | $0, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, CooltrainerMScript_0x99525, -1
+ person_event SPRITE_GRANNY, 10, 7, OW_UP | $3, $0, -1, -1, $0, 0, GrannyScript_0x99528, -1