summaryrefslogtreecommitdiff
path: root/maps/Route34.asm
diff options
context:
space:
mode:
Diffstat (limited to 'maps/Route34.asm')
-rw-r--r--maps/Route34.asm710
1 files changed, 235 insertions, 475 deletions
diff --git a/maps/Route34.asm b/maps/Route34.asm
index 6a2c2c20b..9ed7261bd 100644
--- a/maps/Route34.asm
+++ b/maps/Route34.asm
@@ -1,427 +1,349 @@
-Route34_MapScriptHeader: ; 0x78000
- ; trigger count
+Route34_MapScriptHeader:
+.MapTriggers:
db 0
- ; callback count
+.MapCallbacks:
db 1
; callbacks
dbw 2, UnknownScript_0x78005
-; 0x78005
-UnknownScript_0x78005: ; 0x78005
- checkflag $0005
+UnknownScript_0x78005:
+ checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
iftrue UnknownScript_0x78014
- clearevent $06e5
- setevent $06e6
+ clearevent EVENT_DAYCARE_MAN_IN_DAYCARE
+ setevent EVENT_DAYCARE_MAN_ON_ROUTE_34
jump UnknownScript_0x7801d
-; 0x78014
-UnknownScript_0x78014: ; 0x78014
- setevent $06e5
- clearevent $06e6
+UnknownScript_0x78014:
+ setevent EVENT_DAYCARE_MAN_IN_DAYCARE
+ clearevent EVENT_DAYCARE_MAN_ON_ROUTE_34
jump UnknownScript_0x7801d
-; 0x7801d
-UnknownScript_0x7801d: ; 0x7801d
- checkflag $0006
+UnknownScript_0x7801d:
+ checkflag ENGINE_DAYCARE_MAN_HAS_MON
iffalse UnknownScript_0x78029
- clearevent $06e7
+ clearevent EVENT_DAYCARE_MON_1
jump UnknownScript_0x7802f
-; 0x78029
-UnknownScript_0x78029: ; 0x78029
- setevent $06e7
+UnknownScript_0x78029:
+ setevent EVENT_DAYCARE_MON_1
jump UnknownScript_0x7802f
-; 0x7802f
-UnknownScript_0x7802f: ; 0x7802f
- checkflag $0007
+UnknownScript_0x7802f:
+ checkflag ENGINE_DAYCARE_LADY_HAS_MON
iffalse UnknownScript_0x78039
- clearevent $06e8
+ clearevent EVENT_DAYCARE_MON_2
return
-; 0x78039
-UnknownScript_0x78039: ; 0x78039
- setevent $06e8
+UnknownScript_0x78039:
+ setevent EVENT_DAYCARE_MON_2
return
-; 0x7803d
-GrampsScript_0x7803d: ; 0x7803d
+GrampsScript_0x7803d:
faceplayer
loadfont
- special Function16936
+ special Special_DayCareManOutside
closetext
loadmovesprites
if_equal $1, UnknownScript_0x7805a
- clearflag $0005
- checkcode $9
+ clearflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
+ checkcode VAR_FACING
if_equal $3, UnknownScript_0x7805b
applymovement $8, MovementData_0x78333
playsound SFX_ENTER_DOOR
disappear $8
-UnknownScript_0x7805a: ; 0x7805a
+UnknownScript_0x7805a:
end
-; 0x7805b
-UnknownScript_0x7805b: ; 0x7805b
+UnknownScript_0x7805b:
applymovement $8, MovementData_0x78337
playsound SFX_ENTER_DOOR
disappear $8
end
-; 0x78065
-DaycareMon1Script_0x78065: ; 0x78065
+DaycareMon1Script_0x78065:
loadfont
special Function17421
loadmovesprites
end
-; 0x7806b
-DaycareMon2Script_0x7806b: ; 0x7806b
+DaycareMon2Script_0x7806b:
loadfont
special Function17440
loadmovesprites
end
-; 0x78071
-TrainerCamperTodd1: ; 0x78071
- ; bit/flag number
- dw $41b
+TrainerCamperTodd1:
+ trainer EVENT_BEAT_CAMPER_TODD, CAMPER, TODD1, CamperTodd1SeenText, CamperTodd1BeatenText, $0000, CamperTodd1Script
- ; trainer group && trainer id
- db CAMPER, TODD1
-
- ; text when seen
- dw CamperTodd1SeenText
-
- ; text when trainer beaten
- dw CamperTodd1BeatenText
-
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw CamperTodd1Script
-; 0x7807d
-
-CamperTodd1Script: ; 0x7807d
- writecode $17, $14
+CamperTodd1Script:
+ writecode VAR_CALLERID, PHONE_CAMPER_TODD
talkaftercancel
loadfont
- checkflag $0070
+ checkflag ENGINE_TODD
iftrue UnknownScript_0x780bd
- checkflag $0061
+ checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue UnknownScript_0x78131
- checkcellnum $14
+ checkcellnum PHONE_CAMPER_TODD
iftrue UnknownScript_0x78143
- checkevent $027d
+ checkevent EVENT_TODD_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x780a6
writetext UnknownText_0x784f0
keeptextopen
- setevent $027d
+ setevent EVENT_TODD_ASKED_FOR_PHONE_NUMBER
scall UnknownScript_0x78137
jump UnknownScript_0x780a9
-; 0x780a6
-UnknownScript_0x780a6: ; 0x780a6
+UnknownScript_0x780a6:
scall UnknownScript_0x7813b
-UnknownScript_0x780a9: ; 0x780a9
- askforphonenumber $14
+UnknownScript_0x780a9:
+ askforphonenumber PHONE_CAMPER_TODD
if_equal $1, UnknownScript_0x7814b
if_equal $2, UnknownScript_0x78147
trainertotext CAMPER, TODD1, $0
scall UnknownScript_0x7813f
jump UnknownScript_0x78143
-; 0x780bd
-UnknownScript_0x780bd: ; 0x780bd
+UnknownScript_0x780bd:
scall UnknownScript_0x7814f
winlosstext CamperTodd1BeatenText, $0000
- copybytetovar wd9fe
- if_equal $4, UnknownScript_0x780dc
- if_equal $3, UnknownScript_0x780e2
- if_equal $2, UnknownScript_0x780e8
- if_equal $1, UnknownScript_0x780ee
- if_equal $0, UnknownScript_0x780f4
-UnknownScript_0x780dc: ; 0x780dc
+ copybytetovar wToddFightCount
+ if_equal 4, .Fight4
+ if_equal 3, .Fight3
+ if_equal 2, .Fight2
+ if_equal 1, .Fight1
+ if_equal 0, .LoadFight0
+.Fight4
checkevent EVENT_RESTORED_POWER_TO_KANTO
- iftrue UnknownScript_0x78128
-UnknownScript_0x780e2: ; 0x780e2
+ iftrue .LoadFight4
+.Fight3
checkevent EVENT_BEAT_ELITE_FOUR
- iftrue UnknownScript_0x7811b
-UnknownScript_0x780e8: ; 0x780e8
- checkflag $004b
- iftrue UnknownScript_0x7810e
-UnknownScript_0x780ee: ; 0x780ee
- checkflag $0045
- iftrue UnknownScript_0x78101
-UnknownScript_0x780f4: ; 0x780f4
+ iftrue .LoadFight3
+.Fight2
+ checkflag ENGINE_FLYPOINT_BLACKTHORN
+ iftrue .LoadFight2
+.Fight1
+ checkflag ENGINE_FLYPOINT_CIANWOOD
+ iftrue .LoadFight1
+.LoadFight0
loadtrainer CAMPER, TODD1
startbattle
returnafterbattle
- loadvar wd9fe, $1
- clearflag $0070
+ loadvar wToddFightCount, 1
+ clearflag ENGINE_TODD
end
-; 0x78101
-UnknownScript_0x78101: ; 0x78101
+.LoadFight1
loadtrainer CAMPER, TODD2
startbattle
returnafterbattle
- loadvar wd9fe, $2
- clearflag $0070
+ loadvar wToddFightCount, 2
+ clearflag ENGINE_TODD
end
-; 0x7810e
-UnknownScript_0x7810e: ; 0x7810e
+.LoadFight2
loadtrainer CAMPER, TODD3
startbattle
returnafterbattle
- loadvar wd9fe, $3
- clearflag $0070
+ loadvar wToddFightCount, 3
+ clearflag ENGINE_TODD
end
-; 0x7811b
-UnknownScript_0x7811b: ; 0x7811b
+.LoadFight3
loadtrainer CAMPER, TODD4
startbattle
returnafterbattle
- loadvar wd9fe, $4
- clearflag $0070
+ loadvar wToddFightCount, 4
+ clearflag ENGINE_TODD
end
-; 0x78128
-UnknownScript_0x78128: ; 0x78128
+.LoadFight4
loadtrainer CAMPER, TODD5
startbattle
returnafterbattle
- clearflag $0070
+ clearflag ENGINE_TODD
end
-; 0x78131
-UnknownScript_0x78131: ; 0x78131
+UnknownScript_0x78131:
writetext UnknownText_0x78532
closetext
loadmovesprites
end
-; 0x78137
-UnknownScript_0x78137: ; 0x78137
+UnknownScript_0x78137:
jumpstd asknumber1m
end
-; 0x7813b
-UnknownScript_0x7813b: ; 0x7813b
+UnknownScript_0x7813b:
jumpstd asknumber2m
end
-; 0x7813f
-UnknownScript_0x7813f: ; 0x7813f
+UnknownScript_0x7813f:
jumpstd registerednumberm
end
-; 0x78143
-UnknownScript_0x78143: ; 0x78143
+UnknownScript_0x78143:
jumpstd numberacceptedm
end
-; 0x78147
-UnknownScript_0x78147: ; 0x78147
+UnknownScript_0x78147:
jumpstd numberdeclinedm
end
-; 0x7814b
-UnknownScript_0x7814b: ; 0x7814b
+UnknownScript_0x7814b:
jumpstd phonefullm
end
-; 0x7814f
-UnknownScript_0x7814f: ; 0x7814f
+UnknownScript_0x7814f:
jumpstd rematchm
end
-; 0x78153
-
-TrainerPicnickerGina1: ; 0x78153
- ; bit/flag number
- dw $47f
-
- ; trainer group && trainer id
- db PICNICKER, GINA1
-
- ; text when seen
- dw PicnickerGina1SeenText
-
- ; text when trainer beaten
- dw PicnickerGina1BeatenText
-
- ; script when lost
- dw $0000
- ; script when talk again
- dw PicnickerGina1Script
-; 0x7815f
+TrainerPicnickerGina1:
+ trainer EVENT_BEAT_PICNICKER_GINA, PICNICKER, GINA1, PicnickerGina1SeenText, PicnickerGina1BeatenText, $0000, PicnickerGina1Script
-PicnickerGina1Script: ; 0x7815f
- writecode $17, $15
+PicnickerGina1Script:
+ writecode VAR_CALLERID, PHONE_PICNICKER_GINA
talkaftercancel
loadfont
- checkflag $0071
+ checkflag ENGINE_GINA
iftrue UnknownScript_0x7819f
- checkflag $0080
+ checkflag ENGINE_GINA_HAS_LEAF_STONE
iftrue UnknownScript_0x78213
- checkcellnum $15
+ checkcellnum PHONE_PICNICKER_GINA
iftrue UnknownScript_0x78234
- checkevent $027f
+ checkevent EVENT_GINA_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x78188
writetext UnknownText_0x785b8
keeptextopen
- setevent $027f
+ setevent EVENT_GINA_ASKED_FOR_PHONE_NUMBER
scall UnknownScript_0x78228
jump UnknownScript_0x7818b
-; 0x78188
-UnknownScript_0x78188: ; 0x78188
+UnknownScript_0x78188:
scall UnknownScript_0x7822c
-UnknownScript_0x7818b: ; 0x7818b
- askforphonenumber $15
+UnknownScript_0x7818b:
+ askforphonenumber PHONE_PICNICKER_GINA
if_equal $1, UnknownScript_0x7823c
if_equal $2, UnknownScript_0x78238
trainertotext PICNICKER, GINA1, $0
scall UnknownScript_0x78230
jump UnknownScript_0x78234
-; 0x7819f
-UnknownScript_0x7819f: ; 0x7819f
+UnknownScript_0x7819f:
scall UnknownScript_0x78240
winlosstext PicnickerGina1BeatenText, $0000
- copybytetovar wd9ff
- if_equal $4, UnknownScript_0x781be
- if_equal $3, UnknownScript_0x781c4
- if_equal $2, UnknownScript_0x781ca
- if_equal $1, UnknownScript_0x781d0
- if_equal $0, UnknownScript_0x781d6
-UnknownScript_0x781be: ; 0x781be
+ copybytetovar wGinaFightCount
+ if_equal 4, .Fight4
+ if_equal 3, .Fight3
+ if_equal 2, .Fight2
+ if_equal 1, .Fight1
+ if_equal 0, .LoadFight0
+.Fight4
checkevent EVENT_RESTORED_POWER_TO_KANTO
- iftrue UnknownScript_0x7820a
-UnknownScript_0x781c4: ; 0x781c4
+ iftrue .LoadFight4
+.Fight3
checkevent EVENT_BEAT_ELITE_FOUR
- iftrue UnknownScript_0x781fd
-UnknownScript_0x781ca: ; 0x781ca
+ iftrue .LoadFight3
+.Fight2
checkevent EVENT_CLEARED_RADIO_TOWER
- iftrue UnknownScript_0x781f0
-UnknownScript_0x781d0: ; 0x781d0
- checkflag $0049
- iftrue UnknownScript_0x781e3
-UnknownScript_0x781d6: ; 0x781d6
+ iftrue .LoadFight2
+.Fight1
+ checkflag ENGINE_FLYPOINT_MAHOGANY
+ iftrue .LoadFight1
+.LoadFight0
loadtrainer PICNICKER, GINA1
startbattle
returnafterbattle
- loadvar wd9ff, $1
- clearflag $0071
+ loadvar wGinaFightCount, 1
+ clearflag ENGINE_GINA
end
-; 0x781e3
-UnknownScript_0x781e3: ; 0x781e3
+.LoadFight1
loadtrainer PICNICKER, GINA2
startbattle
returnafterbattle
- loadvar wd9ff, $2
- clearflag $0071
+ loadvar wGinaFightCount, 2
+ clearflag ENGINE_GINA
end
-; 0x781f0
-UnknownScript_0x781f0: ; 0x781f0
+.LoadFight2
loadtrainer PICNICKER, GINA3
startbattle
returnafterbattle
- loadvar wd9ff, $3
- clearflag $0071
+ loadvar wGinaFightCount, 3
+ clearflag ENGINE_GINA
end
-; 0x781fd
-UnknownScript_0x781fd: ; 0x781fd
+.LoadFight3
loadtrainer PICNICKER, GINA4
startbattle
returnafterbattle
- loadvar wd9ff, $4
- clearflag $0071
+ loadvar wGinaFightCount, 4
+ clearflag ENGINE_GINA
end
-; 0x7820a
-UnknownScript_0x7820a: ; 0x7820a
+.LoadFight4
loadtrainer PICNICKER, GINA5
startbattle
returnafterbattle
- clearflag $0071
+ clearflag ENGINE_GINA
end
-; 0x78213
-UnknownScript_0x78213: ; 0x78213
+UnknownScript_0x78213:
scall UnknownScript_0x78244
verbosegiveitem LEAF_STONE, 1
iffalse UnknownScript_0x78225
- clearflag $0080
- setevent $0100
+ clearflag ENGINE_GINA_HAS_LEAF_STONE
+ setevent EVENT_GINA_GAVE_LEAF_STONE
jump UnknownScript_0x78234
-; 0x78225
-UnknownScript_0x78225: ; 0x78225
+UnknownScript_0x78225:
jump UnknownScript_0x78248
-; 0x78228
-UnknownScript_0x78228: ; 0x78228
+UnknownScript_0x78228:
jumpstd asknumber1f
end
-; 0x7822c
-UnknownScript_0x7822c: ; 0x7822c
+UnknownScript_0x7822c:
jumpstd asknumber2f
end
-; 0x78230
-UnknownScript_0x78230: ; 0x78230
+UnknownScript_0x78230:
jumpstd registerednumberf
end
-; 0x78234
-UnknownScript_0x78234: ; 0x78234
+UnknownScript_0x78234:
jumpstd numberacceptedf
end
-; 0x78238
-UnknownScript_0x78238: ; 0x78238
+UnknownScript_0x78238:
jumpstd numberdeclinedf
end
-; 0x7823c
-UnknownScript_0x7823c: ; 0x7823c
+UnknownScript_0x7823c:
jumpstd phonefullf
end
-; 0x78240
-UnknownScript_0x78240: ; 0x78240
+UnknownScript_0x78240:
jumpstd rematchf
end
-; 0x78244
-UnknownScript_0x78244: ; 0x78244
+UnknownScript_0x78244:
jumpstd giftf
end
-; 0x78248
-UnknownScript_0x78248: ; 0x78248
+UnknownScript_0x78248:
jumpstd packfullf
end
-; 0x7824c
-OfficerScript_0x7824c: ; 0x7824c
+OfficerScript_0x7824c:
faceplayer
loadfont
checknite
iffalse UnknownScript_0x78276
- checkevent $0546
+ checkevent EVENT_BEAT_OFFICER_KEITH
iftrue UnknownScript_0x78270
playmusic MUSIC_OFFICER_ENCOUNTER
writetext UnknownText_0x785e4
@@ -431,133 +353,59 @@ OfficerScript_0x7824c: ; 0x7824c
loadtrainer OFFICER, KEITH
startbattle
returnafterbattle
- setevent $0546
+ setevent EVENT_BEAT_OFFICER_KEITH
loadmovesprites
end
-; 0x78270
-UnknownScript_0x78270: ; 0x78270
+UnknownScript_0x78270:
writetext UnknownText_0x78624
closetext
loadmovesprites
end
-; 0x78276
-UnknownScript_0x78276: ; 0x78276
+UnknownScript_0x78276:
writetext UnknownText_0x7866a
closetext
loadmovesprites
end
-; 0x7827c
-TrainerYoungsterSamuel: ; 0x7827c
- ; bit/flag number
- dw $5ad
+TrainerYoungsterSamuel:
+ trainer EVENT_BEAT_YOUNGSTER_SAMUEL, YOUNGSTER, SAMUEL, YoungsterSamuelSeenText, YoungsterSamuelBeatenText, $0000, YoungsterSamuelScript
- ; trainer group && trainer id
- db YOUNGSTER, SAMUEL
-
- ; text when seen
- dw YoungsterSamuelSeenText
-
- ; text when trainer beaten
- dw YoungsterSamuelBeatenText
-
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw YoungsterSamuelScript
-; 0x78288
-
-YoungsterSamuelScript: ; 0x78288
+YoungsterSamuelScript:
talkaftercancel
loadfont
writetext UnknownText_0x783d8
closetext
loadmovesprites
end
-; 0x78290
-
-TrainerYoungsterIan: ; 0x78290
- ; bit/flag number
- dw $5ae
-
- ; trainer group && trainer id
- db YOUNGSTER, IAN
-
- ; text when seen
- dw YoungsterIanSeenText
-
- ; text when trainer beaten
- dw YoungsterIanBeatenText
-
- ; script when lost
- dw $0000
- ; script when talk again
- dw YoungsterIanScript
-; 0x7829c
+TrainerYoungsterIan:
+ trainer EVENT_BEAT_YOUNGSTER_IAN, YOUNGSTER, IAN, YoungsterIanSeenText, YoungsterIanBeatenText, $0000, YoungsterIanScript
-YoungsterIanScript: ; 0x7829c
+YoungsterIanScript:
talkaftercancel
loadfont
writetext UnknownText_0x78469
closetext
loadmovesprites
end
-; 0x782a4
-TrainerPokefanmBrandon: ; 0x782a4
- ; bit/flag number
- dw $4d3
+TrainerPokefanmBrandon:
+ trainer EVENT_BEAT_POKEFANM_BRANDON, POKEFANM, BRANDON, PokefanmBrandonSeenText, PokefanmBrandonBeatenText, $0000, PokefanmBrandonScript
- ; trainer group && trainer id
- db POKEFANM, BRANDON
-
- ; text when seen
- dw PokefanmBrandonSeenText
-
- ; text when trainer beaten
- dw PokefanmBrandonBeatenText
-
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw PokefanmBrandonScript
-; 0x782b0
-
-PokefanmBrandonScript: ; 0x782b0
+PokefanmBrandonScript:
talkaftercancel
loadfont
writetext UnknownText_0x786fc
closetext
loadmovesprites
end
-; 0x782b8
-
-TrainerCooltrainerfIrene: ; 0x782b8
- ; bit/flag number
- dw $560
-
- ; trainer group && trainer id
- db COOLTRAINERF, IRENE
-
- ; text when seen
- dw CooltrainerfIreneSeenText
-
- ; text when trainer beaten
- dw CooltrainerfIreneBeatenText
-
- ; script when lost
- dw $0000
- ; script when talk again
- dw CooltrainerfIreneScript
-; 0x782c4
+TrainerCooltrainerfIrene:
+ trainer EVENT_BEAT_COOLTRAINERF_IRENE, COOLTRAINERF, IRENE, CooltrainerfIreneSeenText, CooltrainerfIreneBeatenText, $0000, CooltrainerfIreneScript
-CooltrainerfIreneScript: ; 0x782c4
+CooltrainerfIreneScript:
talkaftercancel
loadfont
checkevent EVENT_GOT_SOFT_SAND_FROM_KATE
@@ -566,36 +414,17 @@ CooltrainerfIreneScript: ; 0x782c4
closetext
loadmovesprites
end
-; 0x782d2
-UnknownScript_0x782d2: ; 0x782d2
+UnknownScript_0x782d2:
writetext UnknownText_0x787ad
closetext
loadmovesprites
end
-; 0x782d8
-TrainerCooltrainerfJenn: ; 0x782d8
- ; bit/flag number
- dw $56b
+TrainerCooltrainerfJenn:
+ trainer EVENT_BEAT_COOLTRAINERF_JENN, COOLTRAINERF, JENN, CooltrainerfJennSeenText, CooltrainerfJennBeatenText, $0000, CooltrainerfJennScript
- ; trainer group && trainer id
- db COOLTRAINERF, JENN
-
- ; text when seen
- dw CooltrainerfJennSeenText
-
- ; text when trainer beaten
- dw CooltrainerfJennBeatenText
-
- ; script when lost
- dw $0000
-
- ; script when talk again
- dw CooltrainerfJennScript
-; 0x782e4
-
-CooltrainerfJennScript: ; 0x782e4
+CooltrainerfJennScript:
talkaftercancel
loadfont
checkevent EVENT_GOT_SOFT_SAND_FROM_KATE
@@ -604,36 +433,17 @@ CooltrainerfJennScript: ; 0x782e4
closetext
loadmovesprites
end
-; 0x782f2
-UnknownScript_0x782f2: ; 0x782f2
+UnknownScript_0x782f2:
writetext UnknownText_0x78866
closetext
loadmovesprites
end
-; 0x782f8
-
-TrainerCooltrainerfKate: ; 0x782f8
- ; bit/flag number
- dw $55f
-
- ; trainer group && trainer id
- db COOLTRAINERF, KATE
-
- ; text when seen
- dw CooltrainerfKateSeenText
-
- ; text when trainer beaten
- dw CooltrainerfKateBeatenText
-
- ; script when lost
- dw $0000
- ; script when talk again
- dw CooltrainerfKateScript
-; 0x78304
+TrainerCooltrainerfKate:
+ trainer EVENT_BEAT_COOLTRAINERF_KATE, COOLTRAINERF, KATE, CooltrainerfKateSeenText, CooltrainerfKateBeatenText, $0000, CooltrainerfKateScript
-CooltrainerfKateScript: ; 0x78304
+CooltrainerfKateScript:
talkaftercancel
loadfont
checkevent EVENT_GOT_SOFT_SAND_FROM_KATE
@@ -643,75 +453,61 @@ CooltrainerfKateScript: ; 0x78304
verbosegiveitem SOFT_SAND, 1
iffalse UnknownScript_0x7831d
setevent EVENT_GOT_SOFT_SAND_FROM_KATE
-UnknownScript_0x78319: ; 0x78319
+UnknownScript_0x78319:
writetext UnknownText_0x7892b
closetext
-UnknownScript_0x7831d: ; 0x7831d
+UnknownScript_0x7831d:
loadmovesprites
end
-; 0x7831f
-UnknownScript_0x7831f: ; 0x7831f
+UnknownScript_0x7831f:
jumptext UnknownText_0x7898a
-; 0x78322
-MapRoute34Signpost0Script: ; 0x78322
+MapRoute34Signpost0Script:
jumptext UnknownText_0x789a8
-; 0x78325
-MapRoute34Signpost1Script: ; 0x78325
+MapRoute34Signpost1Script:
jumptext UnknownText_0x789ed
-; 0x78328
-MapRoute34Signpost2Script: ; 0x78328
+MapRoute34Signpost2Script:
jumptext UnknownText_0x78a52
-; 0x7832b
-ItemFragment_0x7832b: ; 0x7832b
+ItemFragment_0x7832b:
db NUGGET, 1
-; 0x7832d
-MapRoute34SignpostItem3: ; 0x7832d
- dw $00a7
- db RARE_CANDY
+MapRoute34SignpostItem3:
+ dwb EVENT_ROUTE_34_HIDDEN_RARE_CANDY, RARE_CANDY
-; 0x78330
-MapRoute34SignpostItem4: ; 0x78330
- dw $00a8
- db SUPER_POTION
+MapRoute34SignpostItem4:
+ dwb EVENT_ROUTE_34_HIDDEN_SUPER_POTION, SUPER_POTION
-; 0x78333
-MovementData_0x78333: ; 0x78333
+MovementData_0x78333:
slow_step_left
slow_step_left
slow_step_up
step_end
-; 0x78337
-MovementData_0x78337: ; 0x78337
+MovementData_0x78337:
slow_step_down
slow_step_left
slow_step_left
slow_step_up
slow_step_up
step_end
-; 0x7833d
-YoungsterSamuelSeenText: ; 0x7833d
+YoungsterSamuelSeenText:
text "This is where I do"
line "my training!"
done
-; 0x7835e
-YoungsterSamuelBeatenText: ; 0x7835e
+YoungsterSamuelBeatenText:
text "Beaten by a"
line "passing stranger!"
done
-; 0x7837d
-UnknownText_0x7837d: ; 0x7837d
+UnknownText_0x7837d:
text "Have you been to"
line "GOLDENROD CITY?"
@@ -721,9 +517,8 @@ UnknownText_0x7837d: ; 0x7837d
para "changed the"
line "#MON CENTER?"
done
-; 0x783d8
-UnknownText_0x783d8: ; 0x783d8
+UnknownText_0x783d8:
text "I'm going to train"
line "even harder."
@@ -731,111 +526,96 @@ UnknownText_0x783d8: ; 0x783d8
line "trying to become"
cont "a GYM LEADER."
done
-; 0x78425
-YoungsterIanSeenText: ; 0x78425
+YoungsterIanSeenText:
text "I'm the best in my"
line "class at #MON."
done
-; 0x78447
-YoungsterIanBeatenText: ; 0x78447
+YoungsterIanBeatenText:
text "No! There are bet-"
line "ter trainers…"
done
-; 0x78469
-UnknownText_0x78469: ; 0x78469
+UnknownText_0x78469:
text "I'm trying hard so"
line "I can be the star"
cont "in my class."
done
-; 0x7849b
-CamperTodd1SeenText: ; 0x7849b
+CamperTodd1SeenText:
text "I'm confident in"
line "my ability to"
cont "raise #MON."
para "Want to see?"
done
-; 0x784d3
-CamperTodd1BeatenText: ; 0x784d3
+CamperTodd1BeatenText:
text "Did I screw up my"
line "training?"
done
-; 0x784f0
-UnknownText_0x784f0: ; 0x784f0
+UnknownText_0x784f0:
text "Maybe I should"
line "take one to a DAY-"
para "CARE. Or maybe use"
line "some items…"
done
-; 0x78532
-UnknownText_0x78532: ; 0x78532
+UnknownText_0x78532:
text "Shopping under the"
line "sky!"
para "It feels so nice"
line "up on a rooftop."
done
-; 0x7856d
-PicnickerGina1SeenText: ; 0x7856d
+PicnickerGina1SeenText:
text "Are you a trainer?"
para "Let's have a"
line "practice battle."
done
-; 0x7859e
-PicnickerGina1BeatenText: ; 0x7859e
+PicnickerGina1BeatenText:
text "Oh, no! I just"
line "can't win…"
done
-; 0x785b8
-UnknownText_0x785b8: ; 0x785b8
+UnknownText_0x785b8:
text "You're too strong"
line "to be a practice"
cont "partner."
done
-; 0x785e4
-UnknownText_0x785e4: ; 0x785e4
+UnknownText_0x785e4:
text "Who goes there?"
line "What are you up"
cont "to?"
done
-; 0x78609
-UnknownText_0x78609: ; 0x78609
+UnknownText_0x78609:
text "You're a tough"
line "little kid."
done
-; 0x78624
-UnknownText_0x78624: ; 0x78624
+UnknownText_0x78624:
text "Yep, I see nothing"
line "wrong today. You"
para "be good and stay"
line "out of trouble."
done
-; 0x7866a
-UnknownText_0x7866a: ; 0x7866a
+UnknownText_0x7866a:
text "I'm on patrol for"
line "suspicious indi-"
cont "viduals."
done
-; 0x78696
-PokefanmBrandonSeenText: ; 0x78696
+PokefanmBrandonSeenText:
text "I just got my"
line "#MON back from"
cont "DAY-CARE."
@@ -843,15 +623,13 @@ PokefanmBrandonSeenText: ; 0x78696
para "Let's see how much"
line "stronger it got!"
done
-; 0x786e1
-PokefanmBrandonBeatenText: ; 0x786e1
+PokefanmBrandonBeatenText:
text "Why does it end"
line "this way?"
done
-; 0x786fc
-UnknownText_0x786fc: ; 0x786fc
+UnknownText_0x786fc:
text "My #MON knew"
line "moves I didn't"
cont "know it had."
@@ -859,77 +637,66 @@ UnknownText_0x786fc: ; 0x786fc
para "That confounded me"
line "to no end!"
done
-; 0x78743
-CooltrainerfIreneSeenText: ; 0x78743
+CooltrainerfIreneSeenText:
text "IRENE: Kyaaah!"
line "Someone found us!"
done
-; 0x78765
-CooltrainerfIreneBeatenText: ; 0x78765
+CooltrainerfIreneBeatenText:
text "IRENE: Ohhh!"
line "Too strong!"
done
-; 0x7877f
-UnknownText_0x7877f: ; 0x7877f
+UnknownText_0x7877f:
text "IRENE: My sister"
line "KATE will get you"
cont "for this!"
done
-; 0x787ad
-UnknownText_0x787ad: ; 0x787ad
+UnknownText_0x787ad:
text "IRENE: Isn't this"
line "beach great?"
para "It's our secret"
line "little getaway!"
done
-; 0x787eb
-CooltrainerfJennSeenText: ; 0x787eb
+CooltrainerfJennSeenText:
text "JENN: You can't"
line "beat IRENE and go"
cont "unpunished!"
done
-; 0x78819
-CooltrainerfJennBeatenText: ; 0x78819
+CooltrainerfJennBeatenText:
text "JENN: So sorry,"
line "IRENE! Sis!"
done
-; 0x78836
-UnknownText_0x78836: ; 0x78836
+UnknownText_0x78836:
text "JENN: Don't get"
line "cocky! My sister"
cont "KATE is tough!"
done
-; 0x78866
-UnknownText_0x78866: ; 0x78866
+UnknownText_0x78866:
text "JENN: Sunlight"
line "makes your body"
cont "stronger."
done
-; 0x78890
-CooltrainerfKateSeenText: ; 0x78890
+CooltrainerfKateSeenText:
text "KATE: You sure"
line "were mean to my"
cont "little sisters!"
done
-; 0x788c0
-CooltrainerfKateBeatenText: ; 0x788c0
+CooltrainerfKateBeatenText:
text "KATE: No! I can't"
line "believe I lost."
done
-; 0x788e2
-UnknownText_0x788e2: ; 0x788e2
+UnknownText_0x788e2:
text "KATE: You're too"
line "strong. I didn't"
cont "stand a chance."
@@ -937,9 +704,8 @@ UnknownText_0x788e2: ; 0x788e2
para "Here. You deserve"
line "this."
done
-; 0x7892b
-UnknownText_0x7892b: ; 0x7892b
+UnknownText_0x7892b:
text "KATE: I'm sorry we"
line "jumped you."
@@ -949,15 +715,13 @@ UnknownText_0x7892b: ; 0x7892b
para "here. You sure"
line "startled us."
done
-; 0x7898a
-UnknownText_0x7898a: ; 0x7898a
+UnknownText_0x7898a:
text "ILEX FOREST"
line "THROUGH THE GATE"
done
-; 0x789a8
-UnknownText_0x789a8: ; 0x789a8
+UnknownText_0x789a8:
text "ROUTE 34"
para "GOLDENROD CITY -"
@@ -966,9 +730,8 @@ UnknownText_0x789a8: ; 0x789a8
para "ILEX FOREST"
line "SOMEWHERE BETWEEN"
done
-; 0x789ed
-UnknownText_0x789ed: ; 0x789ed
+UnknownText_0x789ed:
text "TRAINER TIPS"
para "BERRY trees grow"
@@ -979,52 +742,49 @@ UnknownText_0x789ed: ; 0x789ed
line "which trees bear"
cont "which BERRIES."
done
-; 0x78a52
-UnknownText_0x78a52: ; 0x78a52
+UnknownText_0x78a52:
text "DAY-CARE"
para "LET US RAISE YOUR"
line "#MON FOR YOU!"
done
-; 0x78a7c
-Route34_MapEventHeader: ; 0x78a7c
+Route34_MapEventHeader:
; filler
db 0, 0
- ; warps
+.Warps:
db 5
warp_def $25, $d, 1, GROUP_ROUTE_34_ILEX_FOREST_GATE, MAP_ROUTE_34_ILEX_FOREST_GATE
warp_def $25, $e, 2, GROUP_ROUTE_34_ILEX_FOREST_GATE, MAP_ROUTE_34_ILEX_FOREST_GATE
- warp_def $e, $b, 1, GROUP_DAY_CARE, MAP_DAY_CARE
- warp_def $f, $b, 2, GROUP_DAY_CARE, MAP_DAY_CARE
- warp_def $f, $d, 3, GROUP_DAY_CARE, MAP_DAY_CARE
+ warp_def $e, $b, 1, GROUP_DAYCARE, MAP_DAYCARE
+ warp_def $f, $b, 2, GROUP_DAYCARE, MAP_DAYCARE
+ warp_def $f, $d, 3, GROUP_DAYCARE, MAP_DAYCARE
- ; xy triggers
+.XYTriggers:
db 0
- ; signposts
+.Signposts:
db 5
- signpost 6, 12, $0, MapRoute34Signpost0Script
- signpost 33, 13, $0, MapRoute34Signpost1Script
- signpost 13, 10, $0, MapRoute34Signpost2Script
- signpost 32, 8, $7, MapRoute34SignpostItem3
- signpost 19, 17, $7, MapRoute34SignpostItem4
+ signpost 6, 12, SIGNPOST_READ, MapRoute34Signpost0Script
+ signpost 33, 13, SIGNPOST_READ, MapRoute34Signpost1Script
+ signpost 13, 10, SIGNPOST_READ, MapRoute34Signpost2Script
+ signpost 32, 8, SIGNPOST_ITEM, MapRoute34SignpostItem3
+ signpost 19, 17, SIGNPOST_ITEM, MapRoute34SignpostItem4
- ; people-events
+.PersonEvents:
db 13
- person_event SPRITE_YOUNGSTER, 11, 17, $8, $0, 255, 255, $a2, 5, TrainerCamperTodd1, $ffff
- person_event SPRITE_YOUNGSTER, 36, 19, $6, $0, 255, 255, $92, 3, TrainerYoungsterSamuel, $ffff
- person_event SPRITE_YOUNGSTER, 24, 15, $6, $0, 255, 255, $92, 3, TrainerYoungsterIan, $ffff
- person_event SPRITE_LASS, 30, 14, $9, $0, 255, 255, $a2, 3, TrainerPicnickerGina1, $ffff
- person_event SPRITE_OFFICER, 15, 13, $6, $0, 255, 255, $90, 0, OfficerScript_0x7824c, $ffff
- person_event SPRITE_POKEFAN_M, 32, 22, $1e, $0, 255, 255, $82, 3, TrainerPokefanmBrandon, $ffff
- person_event SPRITE_GRAMPS, 20, 19, $6, $0, 255, 255, $0, 0, GrampsScript_0x7803d, $06e6
- person_event SPRITE_DAYCARE_MON_1, 22, 18, $16, $22, 255, 255, $0, 0, DaycareMon1Script_0x78065, $06e7
- person_event SPRITE_DAYCARE_MON_2, 23, 21, $16, $22, 255, 255, $0, 0, DaycareMon2Script_0x7806b, $06e8
- person_event SPRITE_COOLTRAINER_F, 52, 15, $8, $0, 255, 255, $82, 5, TrainerCooltrainerfIrene, $ffff
- person_event SPRITE_COOLTRAINER_F, 52, 7, $9, $0, 255, 255, $82, 3, TrainerCooltrainerfJenn, $ffff
- person_event SPRITE_COOLTRAINER_F, 55, 10, $7, $0, 255, 255, $82, 2, TrainerCooltrainerfKate, $ffff
- person_event SPRITE_POKE_BALL, 34, 11, $1, $0, 255, 255, $1, 0, ItemFragment_0x7832b, $07bc
-; 0x78b5d
+ person_event SPRITE_YOUNGSTER, 11, 17, OW_LEFT | $0, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 5, TrainerCamperTodd1, -1
+ person_event SPRITE_YOUNGSTER, 36, 19, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerYoungsterSamuel, -1
+ person_event SPRITE_YOUNGSTER, 24, 15, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerYoungsterIan, -1
+ person_event SPRITE_LASS, 30, 14, OW_LEFT | $1, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 3, TrainerPicnickerGina1, -1
+ person_event SPRITE_OFFICER, 15, 13, OW_UP | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, OfficerScript_0x7824c, -1
+ person_event SPRITE_POKEFAN_M, 32, 22, OW_RIGHT | $12, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerPokefanmBrandon, -1
+ person_event SPRITE_GRAMPS, 20, 19, OW_UP | $2, $0, -1, -1, $0, 0, GrampsScript_0x7803d, EVENT_DAYCARE_MAN_ON_ROUTE_34
+ person_event SPRITE_DAYCARE_MON_1, 22, 18, OW_UP | $12, $22, -1, -1, $0, 0, DaycareMon1Script_0x78065, EVENT_DAYCARE_MON_1
+ person_event SPRITE_DAYCARE_MON_2, 23, 21, OW_UP | $12, $22, -1, -1, $0, 0, DaycareMon2Script_0x7806b, EVENT_DAYCARE_MON_2
+ person_event SPRITE_COOLTRAINER_F, 52, 15, OW_LEFT | $0, $0, -1, -1, (PAL_OW_RED << 4) | $82, 5, TrainerCooltrainerfIrene, -1
+ person_event SPRITE_COOLTRAINER_F, 52, 7, OW_LEFT | $1, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerCooltrainerfJenn, -1
+ person_event SPRITE_COOLTRAINER_F, 55, 10, OW_UP | $3, $0, -1, -1, (PAL_OW_RED << 4) | $82, 2, TrainerCooltrainerfKate, -1
+ person_event SPRITE_POKE_BALL, 34, 11, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x7832b, EVENT_ROUTE_34_NUGGET