Route34_MapScriptHeader: ; 0x78000 ; trigger count db 0 ; callback count db 1 ; callbacks dbw 2, UnknownScript_0x78005 ; 0x78005 UnknownScript_0x78005: ; 0x78005 checkflag $0005 iftrue UnknownScript_0x78014 clearevent $06e5 setevent $06e6 jump UnknownScript_0x7801d ; 0x78014 UnknownScript_0x78014: ; 0x78014 setevent $06e5 clearevent $06e6 jump UnknownScript_0x7801d ; 0x7801d UnknownScript_0x7801d: ; 0x7801d checkflag $0006 iffalse UnknownScript_0x78029 clearevent $06e7 jump UnknownScript_0x7802f ; 0x78029 UnknownScript_0x78029: ; 0x78029 setevent $06e7 jump UnknownScript_0x7802f ; 0x7802f UnknownScript_0x7802f: ; 0x7802f checkflag $0007 iffalse UnknownScript_0x78039 clearevent $06e8 return ; 0x78039 UnknownScript_0x78039: ; 0x78039 setevent $06e8 return ; 0x7803d GrampsScript_0x7803d: ; 0x7803d faceplayer loadfont special $0020 closetext loadmovesprites if_equal $1, UnknownScript_0x7805a clearflag $0005 checkcode $9 if_equal $3, UnknownScript_0x7805b applymovement $8, MovementData_0x78333 playsound SFX_ENTER_DOOR disappear $8 UnknownScript_0x7805a: ; 0x7805a end ; 0x7805b UnknownScript_0x7805b: ; 0x7805b applymovement $8, MovementData_0x78337 playsound SFX_ENTER_DOOR disappear $8 end ; 0x78065 DaycareMon1Script_0x78065: ; 0x78065 loadfont special $0045 loadmovesprites end ; 0x7806b DaycareMon2Script_0x7806b: ; 0x7806b loadfont special $0046 loadmovesprites end ; 0x78071 TrainerCamperTodd1: ; 0x78071 ; bit/flag number dw $41b ; 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 talkaftercancel loadfont checkflag $0070 iftrue UnknownScript_0x780bd checkflag $0061 iftrue UnknownScript_0x78131 checkcellnum $14 iftrue UnknownScript_0x78143 checkevent $027d iftrue UnknownScript_0x780a6 writetext UnknownText_0x784f0 keeptextopen setevent $027d scall UnknownScript_0x78137 jump UnknownScript_0x780a9 ; 0x780a6 UnknownScript_0x780a6: ; 0x780a6 scall UnknownScript_0x7813b UnknownScript_0x780a9: ; 0x780a9 askforphonenumber $14 if_equal $1, UnknownScript_0x7814b if_equal $2, UnknownScript_0x78147 trainertotext CAMPER, TODD1, $0 scall UnknownScript_0x7813f jump UnknownScript_0x78143 ; 0x780bd UnknownScript_0x780bd: ; 0x780bd scall UnknownScript_0x7814f winlosstext CamperTodd1BeatenText, $0000 copybytetovar $d9fe 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 checkevent EVENT_RESTORED_POWER_TO_KANTO iftrue UnknownScript_0x78128 UnknownScript_0x780e2: ; 0x780e2 checkevent $0044 iftrue UnknownScript_0x7811b UnknownScript_0x780e8: ; 0x780e8 checkflag $004b iftrue UnknownScript_0x7810e UnknownScript_0x780ee: ; 0x780ee checkflag $0045 iftrue UnknownScript_0x78101 UnknownScript_0x780f4: ; 0x780f4 loadtrainer CAMPER, TODD1 startbattle returnafterbattle loadvar $d9fe, $1 clearflag $0070 end ; 0x78101 UnknownScript_0x78101: ; 0x78101 loadtrainer CAMPER, TODD2 startbattle returnafterbattle loadvar $d9fe, $2 clearflag $0070 end ; 0x7810e UnknownScript_0x7810e: ; 0x7810e loadtrainer CAMPER, TODD3 startbattle returnafterbattle loadvar $d9fe, $3 clearflag $0070 end ; 0x7811b UnknownScript_0x7811b: ; 0x7811b loadtrainer CAMPER, TODD4 startbattle returnafterbattle loadvar $d9fe, $4 clearflag $0070 end ; 0x78128 UnknownScript_0x78128: ; 0x78128 loadtrainer CAMPER, TODD5 startbattle returnafterbattle clearflag $0070 end ; 0x78131 UnknownScript_0x78131: ; 0x78131 writetext UnknownText_0x78532 closetext loadmovesprites end ; 0x78137 UnknownScript_0x78137: ; 0x78137 jumpstd $0019 end ; 0x7813b UnknownScript_0x7813b: ; 0x7813b jumpstd $001a end ; 0x7813f UnknownScript_0x7813f: ; 0x7813f jumpstd $001b end ; 0x78143 UnknownScript_0x78143: ; 0x78143 jumpstd $001c end ; 0x78147 UnknownScript_0x78147: ; 0x78147 jumpstd $001d end ; 0x7814b UnknownScript_0x7814b: ; 0x7814b jumpstd $001e end ; 0x7814f UnknownScript_0x7814f: ; 0x7814f jumpstd $001f 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 PicnickerGina1Script: ; 0x7815f writecode $17, $15 talkaftercancel loadfont checkflag $0071 iftrue UnknownScript_0x7819f checkflag $0080 iftrue UnknownScript_0x78213 checkcellnum $15 iftrue UnknownScript_0x78234 checkevent $027f iftrue UnknownScript_0x78188 writetext UnknownText_0x785b8 keeptextopen setevent $027f scall UnknownScript_0x78228 jump UnknownScript_0x7818b ; 0x78188 UnknownScript_0x78188: ; 0x78188 scall UnknownScript_0x7822c UnknownScript_0x7818b: ; 0x7818b askforphonenumber $15 if_equal $1, UnknownScript_0x7823c if_equal $2, UnknownScript_0x78238 trainertotext PICNICKER, GINA1, $0 scall UnknownScript_0x78230 jump UnknownScript_0x78234 ; 0x7819f UnknownScript_0x7819f: ; 0x7819f scall UnknownScript_0x78240 winlosstext PicnickerGina1BeatenText, $0000 copybytetovar $d9ff 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 checkevent EVENT_RESTORED_POWER_TO_KANTO iftrue UnknownScript_0x7820a UnknownScript_0x781c4: ; 0x781c4 checkevent $0044 iftrue UnknownScript_0x781fd UnknownScript_0x781ca: ; 0x781ca checkevent EVENT_CLEARED_RADIO_TOWER iftrue UnknownScript_0x781f0 UnknownScript_0x781d0: ; 0x781d0 checkflag $0049 iftrue UnknownScript_0x781e3 UnknownScript_0x781d6: ; 0x781d6 loadtrainer PICNICKER, GINA1 startbattle returnafterbattle loadvar $d9ff, $1 clearflag $0071 end ; 0x781e3 UnknownScript_0x781e3: ; 0x781e3 loadtrainer PICNICKER, GINA2 startbattle returnafterbattle loadvar $d9ff, $2 clearflag $0071 end ; 0x781f0 UnknownScript_0x781f0: ; 0x781f0 loadtrainer PICNICKER, GINA3 startbattle returnafterbattle loadvar $d9ff, $3 clearflag $0071 end ; 0x781fd UnknownScript_0x781fd: ; 0x781fd loadtrainer PICNICKER, GINA4 startbattle returnafterbattle loadvar $d9ff, $4 clearflag $0071 end ; 0x7820a UnknownScript_0x7820a: ; 0x7820a loadtrainer PICNICKER, GINA5 startbattle returnafterbattle clearflag $0071 end ; 0x78213 UnknownScript_0x78213: ; 0x78213 scall UnknownScript_0x78244 verbosegiveitem LEAF_STONE, 1 iffalse UnknownScript_0x78225 clearflag $0080 setevent $0100 jump UnknownScript_0x78234 ; 0x78225 UnknownScript_0x78225: ; 0x78225 jump UnknownScript_0x78248 ; 0x78228 UnknownScript_0x78228: ; 0x78228 jumpstd $0023 end ; 0x7822c UnknownScript_0x7822c: ; 0x7822c jumpstd $0024 end ; 0x78230 UnknownScript_0x78230: ; 0x78230 jumpstd $0025 end ; 0x78234 UnknownScript_0x78234: ; 0x78234 jumpstd $0026 end ; 0x78238 UnknownScript_0x78238: ; 0x78238 jumpstd $0027 end ; 0x7823c UnknownScript_0x7823c: ; 0x7823c jumpstd $0028 end ; 0x78240 UnknownScript_0x78240: ; 0x78240 jumpstd $0029 end ; 0x78244 UnknownScript_0x78244: ; 0x78244 jumpstd $002a end ; 0x78248 UnknownScript_0x78248: ; 0x78248 jumpstd $002b end ; 0x7824c OfficerScript_0x7824c: ; 0x7824c faceplayer loadfont checktime $4 iffalse UnknownScript_0x78276 checkevent $0546 iftrue UnknownScript_0x78270 playmusic MUSIC_OFFICER_ENCOUNTER writetext UnknownText_0x785e4 closetext loadmovesprites winlosstext UnknownText_0x78609, $0000 loadtrainer OFFICER, KEITH startbattle returnafterbattle setevent $0546 loadmovesprites end ; 0x78270 UnknownScript_0x78270: ; 0x78270 writetext UnknownText_0x78624 closetext loadmovesprites end ; 0x78276 UnknownScript_0x78276: ; 0x78276 writetext UnknownText_0x7866a closetext loadmovesprites end ; 0x7827c TrainerYoungsterSamuel: ; 0x7827c ; bit/flag number dw $5ad ; 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 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 YoungsterIanScript: ; 0x7829c talkaftercancel loadfont writetext UnknownText_0x78469 closetext loadmovesprites end ; 0x782a4 TrainerPokefanmBrandon: ; 0x782a4 ; bit/flag number dw $4d3 ; 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 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 CooltrainerfIreneScript: ; 0x782c4 talkaftercancel loadfont checkevent EVENT_GOT_SOFT_SAND_FROM_KATE iftrue UnknownScript_0x782d2 writetext UnknownText_0x7877f closetext loadmovesprites end ; 0x782d2 UnknownScript_0x782d2: ; 0x782d2 writetext UnknownText_0x787ad closetext loadmovesprites end ; 0x782d8 TrainerCooltrainerfJenn: ; 0x782d8 ; bit/flag number dw $56b ; 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 talkaftercancel loadfont checkevent EVENT_GOT_SOFT_SAND_FROM_KATE iftrue UnknownScript_0x782f2 writetext UnknownText_0x78836 closetext loadmovesprites end ; 0x782f2 UnknownScript_0x782f2: ; 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 CooltrainerfKateScript: ; 0x78304 talkaftercancel loadfont checkevent EVENT_GOT_SOFT_SAND_FROM_KATE iftrue UnknownScript_0x78319 writetext UnknownText_0x788e2 keeptextopen verbosegiveitem SOFT_SAND, 1 iffalse UnknownScript_0x7831d setevent EVENT_GOT_SOFT_SAND_FROM_KATE UnknownScript_0x78319: ; 0x78319 writetext UnknownText_0x7892b closetext UnknownScript_0x7831d: ; 0x7831d loadmovesprites end ; 0x7831f UnknownScript_0x7831f: ; 0x7831f jumptext UnknownText_0x7898a ; 0x78322 MapRoute34Signpost0Script: ; 0x78322 jumptext UnknownText_0x789a8 ; 0x78325 MapRoute34Signpost1Script: ; 0x78325 jumptext UnknownText_0x789ed ; 0x78328 MapRoute34Signpost2Script: ; 0x78328 jumptext UnknownText_0x78a52 ; 0x7832b ItemFragment_0x7832b: ; 0x7832b db NUGGET, 1 ; 0x7832d MapRoute34SignpostItem3: ; 0x7832d dw $00a7 db RARE_CANDY ; 0x78330 MapRoute34SignpostItem4: ; 0x78330 dw $00a8 db SUPER_POTION ; 0x78333 MovementData_0x78333: ; 0x78333 slow_step_left slow_step_left slow_step_up step_end ; 0x78337 MovementData_0x78337: ; 0x78337 slow_step_down slow_step_left slow_step_left slow_step_up slow_step_up step_end ; 0x7833d YoungsterSamuelSeenText: ; 0x7833d text "This is where I do" line "my training!" done ; 0x7835e YoungsterSamuelBeatenText: ; 0x7835e text "Beaten by a" line "passing stranger!" done ; 0x7837d UnknownText_0x7837d: ; 0x7837d text "Have you been to" line "GOLDENROD CITY?" para "Weren't you amazed" line "by how they've" para "changed the" line "#MON CENTER?" done ; 0x783d8 UnknownText_0x783d8: ; 0x783d8 text "I'm going to train" line "even harder." para "After all, I'm" line "trying to become" cont "a GYM LEADER." done ; 0x78425 YoungsterIanSeenText: ; 0x78425 text "I'm the best in my" line "class at #MON." done ; 0x78447 YoungsterIanBeatenText: ; 0x78447 text "No! There are bet-" line "ter trainers…" done ; 0x78469 UnknownText_0x78469: ; 0x78469 text "I'm trying hard so" line "I can be the star" cont "in my class." done ; 0x7849b CamperTodd1SeenText: ; 0x7849b text "I'm confident in" line "my ability to" cont "raise #MON." para "Want to see?" done ; 0x784d3 CamperTodd1BeatenText: ; 0x784d3 text "Did I screw up my" line "training?" done ; 0x784f0 UnknownText_0x784f0: ; 0x784f0 text "Maybe I should" line "take one to a DAY-" para "CARE. Or maybe use" line "some items…" done ; 0x78532 UnknownText_0x78532: ; 0x78532 text "Shopping under the" line "sky!" para "It feels so nice" line "up on a rooftop." done ; 0x7856d PicnickerGina1SeenText: ; 0x7856d text "Are you a trainer?" para "Let's have a" line "practice battle." done ; 0x7859e PicnickerGina1BeatenText: ; 0x7859e text "Oh, no! I just" line "can't win…" done ; 0x785b8 UnknownText_0x785b8: ; 0x785b8 text "You're too strong" line "to be a practice" cont "partner." done ; 0x785e4 UnknownText_0x785e4: ; 0x785e4 text "Who goes there?" line "What are you up" cont "to?" done ; 0x78609 UnknownText_0x78609: ; 0x78609 text "You're a tough" line "little kid." done ; 0x78624 UnknownText_0x78624: ; 0x78624 text "Yep, I see nothing" line "wrong today. You" para "be good and stay" line "out of trouble." done ; 0x7866a UnknownText_0x7866a: ; 0x7866a text "I'm on patrol for" line "suspicious indi-" cont "viduals." done ; 0x78696 PokefanmBrandonSeenText: ; 0x78696 text "I just got my" line "#MON back from" cont "DAY-CARE." para "Let's see how much" line "stronger it got!" done ; 0x786e1 PokefanmBrandonBeatenText: ; 0x786e1 text "Why does it end" line "this way?" done ; 0x786fc UnknownText_0x786fc: ; 0x786fc text "My #MON knew" line "moves I didn't" cont "know it had." para "That confounded me" line "to no end!" done ; 0x78743 CooltrainerfIreneSeenText: ; 0x78743 text "IRENE: Kyaaah!" line "Someone found us!" done ; 0x78765 CooltrainerfIreneBeatenText: ; 0x78765 text "IRENE: Ohhh!" line "Too strong!" done ; 0x7877f UnknownText_0x7877f: ; 0x7877f text "IRENE: My sister" line "KATE will get you" cont "for this!" done ; 0x787ad UnknownText_0x787ad: ; 0x787ad text "IRENE: Isn't this" line "beach great?" para "It's our secret" line "little getaway!" done ; 0x787eb CooltrainerfJennSeenText: ; 0x787eb text "JENN: You can't" line "beat IRENE and go" cont "unpunished!" done ; 0x78819 CooltrainerfJennBeatenText: ; 0x78819 text "JENN: So sorry," line "IRENE! Sis!" done ; 0x78836 UnknownText_0x78836: ; 0x78836 text "JENN: Don't get" line "cocky! My sister" cont "KATE is tough!" done ; 0x78866 UnknownText_0x78866: ; 0x78866 text "JENN: Sunlight" line "makes your body" cont "stronger." done ; 0x78890 CooltrainerfKateSeenText: ; 0x78890 text "KATE: You sure" line "were mean to my" cont "little sisters!" done ; 0x788c0 CooltrainerfKateBeatenText: ; 0x788c0 text "KATE: No! I can't" line "believe I lost." done ; 0x788e2 UnknownText_0x788e2: ; 0x788e2 text "KATE: You're too" line "strong. I didn't" cont "stand a chance." para "Here. You deserve" line "this." done ; 0x7892b UnknownText_0x7892b: ; 0x7892b text "KATE: I'm sorry we" line "jumped you." para "We never expected" line "anyone to find us" para "here. You sure" line "startled us." done ; 0x7898a UnknownText_0x7898a: ; 0x7898a text "ILEX FOREST" line "THROUGH THE GATE" done ; 0x789a8 UnknownText_0x789a8: ; 0x789a8 text "ROUTE 34" para "GOLDENROD CITY -" line "AZALEA TOWN" para "ILEX FOREST" line "SOMEWHERE BETWEEN" done ; 0x789ed UnknownText_0x789ed: ; 0x789ed text "TRAINER TIPS" para "BERRY trees grow" line "new BERRIES" cont "every day." para "Make a note of" line "which trees bear" cont "which BERRIES." done ; 0x78a52 UnknownText_0x78a52: ; 0x78a52 text "DAY-CARE" para "LET US RAISE YOUR" line "#MON FOR YOU!" done ; 0x78a7c Route34_MapEventHeader: ; 0x78a7c ; filler db 0, 0 ; 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 ; xy triggers db 0 ; 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 ; people-events 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