summaryrefslogtreecommitdiff
path: root/maps/ViridianPokeCenter1F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/ViridianPokeCenter1F.asm')
-rw-r--r--maps/ViridianPokeCenter1F.asm57
1 files changed, 23 insertions, 34 deletions
diff --git a/maps/ViridianPokeCenter1F.asm b/maps/ViridianPokeCenter1F.asm
index 39bba37f7..7d72c8558 100644
--- a/maps/ViridianPokeCenter1F.asm
+++ b/maps/ViridianPokeCenter1F.asm
@@ -1,51 +1,44 @@
-ViridianPokeCenter1F_MapScriptHeader: ; 0x9b68e
- ; trigger count
+ViridianPokeCenter1F_MapScriptHeader:
+.MapTriggers:
db 0
- ; callback count
+.MapCallbacks:
db 0
-; 0x9b690
-NurseScript_0x9b690: ; 0x9b690
+NurseScript_0x9b690:
jumpstd pokecenternurse
-; 0x9b693
-CooltrainerMScript_0x9b693: ; 0x9b693
+CooltrainerMScript_0x9b693:
faceplayer
loadfont
- checkevent $0775
- iftrue UnknownScript_0x9b6a1
+ checkevent EVENT_BLUE_IN_CINNABAR
+ iftrue .BlueReturned
writetext UnknownText_0x9b6ad
closetext
loadmovesprites
end
-; 0x9b6a1
-UnknownScript_0x9b6a1: ; 0x9b6a1
+.BlueReturned
writetext UnknownText_0x9b6f5
closetext
loadmovesprites
end
-; 0x9b6a7
-CooltrainerFScript_0x9b6a7: ; 0x9b6a7
+CooltrainerFScript_0x9b6a7:
jumptextfaceplayer UnknownText_0x9b76b
-; 0x9b6aa
-BugCatcherScript_0x9b6aa: ; 0x9b6aa
+BugCatcherScript_0x9b6aa:
jumptextfaceplayer UnknownText_0x9b7c8
-; 0x9b6ad
-UnknownText_0x9b6ad: ; 0x9b6ad
+UnknownText_0x9b6ad:
text "Where in the world"
line "is VIRIDIAN's GYM"
para "LEADER? I wanted"
line "to challenge him."
done
-; 0x9b6f5
-UnknownText_0x9b6f5: ; 0x9b6f5
+UnknownText_0x9b6f5:
text "There are no GYM"
line "TRAINERS at the"
cont "VIRIDIAN GYM."
@@ -56,9 +49,8 @@ UnknownText_0x9b6f5: ; 0x9b6f5
para "win without having"
line "any underlings."
done
-; 0x9b76b
-UnknownText_0x9b76b: ; 0x9b76b
+UnknownText_0x9b76b:
text "I heard that the"
line "GYM in CINNABAR is"
cont "gone."
@@ -67,34 +59,31 @@ UnknownText_0x9b76b: ; 0x9b76b
line "came of BLAINE,"
cont "the GYM LEADER."
done
-; 0x9b7c8
-UnknownText_0x9b7c8: ; 0x9b7c8
+UnknownText_0x9b7c8:
text "My dream is to be-"
line "come a GYM LEADER."
done
-; 0x9b7ef
-ViridianPokeCenter1F_MapEventHeader: ; 0x9b7ef
+ViridianPokeCenter1F_MapEventHeader:
; filler
db 0, 0
- ; warps
+.Warps:
db 3
warp_def $7, $3, 5, GROUP_VIRIDIAN_CITY, MAP_VIRIDIAN_CITY
warp_def $7, $4, 5, GROUP_VIRIDIAN_CITY, MAP_VIRIDIAN_CITY
warp_def $7, $0, 1, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
- ; xy triggers
+.XYTriggers:
db 0
- ; signposts
+.Signposts:
db 0
- ; people-events
+.PersonEvents:
db 4
- person_event SPRITE_NURSE, 5, 7, $6, $0, 255, 255, $0, 0, NurseScript_0x9b690, $ffff
- person_event SPRITE_COOLTRAINER_M, 8, 12, $5, $1, 255, 255, $80, 0, CooltrainerMScript_0x9b693, $ffff
- person_event SPRITE_COOLTRAINER_F, 7, 9, $7, $0, 255, 255, $90, 0, CooltrainerFScript_0x9b6a7, $ffff
- person_event SPRITE_BUG_CATCHER, 10, 5, $9, $0, 255, 255, $a0, 0, BugCatcherScript_0x9b6aa, $ffff
-; 0x9b838
+ person_event SPRITE_NURSE, 5, 7, OW_UP | $2, $0, -1, -1, $0, 0, NurseScript_0x9b690, -1
+ person_event SPRITE_COOLTRAINER_M, 8, 12, OW_UP | $1, $1, -1, -1, (PAL_OW_RED << 4) | $80, 0, CooltrainerMScript_0x9b693, -1
+ person_event SPRITE_COOLTRAINER_F, 7, 9, OW_UP | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, CooltrainerFScript_0x9b6a7, -1
+ person_event SPRITE_BUG_CATCHER, 10, 5, OW_LEFT | $1, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, BugCatcherScript_0x9b6aa, -1