pokeemerald-expansion/data/maps/Route16_Frlg/scripts.inc
Bassoonian 310f746565
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Fix space indentation in .s and .inc files (#9371)
2026-02-27 12:45:00 -08:00

189 lines
4.7 KiB
PHP

Route16_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, Route16_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, Route16_OnTransition
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route16_OnWarp
.byte 0
Route16_OnResume::
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route16_EventScript_RemoveSnorlax
end
Route16_EventScript_RemoveSnorlax::
removeobject VAR_LAST_TALKED
return
Route16_OnTransition::
call_if_eq VAR_MAP_SCENE_ROUTE16, 1, Route16_OnTransitionCyclingRoad
end
Route16_OnTransitionCyclingRoad::
setflag FLAG_SYS_ON_CYCLING_ROAD
return
Route16_OnWarp::
map_script_2 VAR_MAP_SCENE_ROUTE16, 1, Route16_OnWarpCyclingRoad
.2byte 0
Route16_OnWarpCyclingRoad::
special ForcePlayerOntoBike
end
Route16_EventScript_Snorlax::
lock
faceplayer
goto_if_unset FLAG_GOT_POKE_FLUTE, Route16_EventScript_SnorlaxNoPokeFlute
msgbox Text_WantToUsePokeFlute, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, Route16_EventScript_DontUsePokeFlute
call EventScript_AwakenSnorlax
setwildbattle SPECIES_SNORLAX, 30
waitse
playmoncry SPECIES_SNORLAX, CRY_MODE_ENCOUNTER
delay 40
waitmoncry
setflag FLAG_HIDE_ROUTE_16_SNORLAX
setflag FLAG_SYS_CTRL_OBJ_DELETE
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
goto_if_eq VAR_RESULT, B_OUTCOME_WON, Route16_EventScript_FoughtSnorlax
goto_if_eq VAR_RESULT, B_OUTCOME_RAN, Route16_EventScript_FoughtSnorlax
goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, Route16_EventScript_FoughtSnorlax
release
end
Route16_EventScript_DontUsePokeFlute::
release
end
Route16_EventScript_FoughtSnorlax::
msgbox Text_SnorlaxReturnedToMountains
release
end
Route16_EventScript_SnorlaxNoPokeFlute::
msgbox Route16_Text_MonSprawledOutInSlumber
release
end
Route16_EventScript_CyclingRoadSign::
msgbox Route16_Text_CyclingRoadSign, MSGBOX_SIGN
end
Route16_EventScript_RouteSign::
msgbox Route16_Text_RouteSign, MSGBOX_SIGN
end
Route16_Text_LaoIntro::
.string "What do you want?$"
Route16_Text_LaoDefeat::
.string "Don't you dare laugh!$"
Route16_Text_LaoPostBattle::
.string "We like just hanging here.\n"
.string "What's it to you?$"
Route16_Text_KojiIntro::
.string "Nice BIKE!\n"
.string "Hand it over!$"
Route16_Text_KojiDefeat::
.string "Knockout!$"
Route16_Text_KojiPostBattle::
.string "Forget it, who needs your BIKE!$"
Route16_Text_LukeIntro::
.string "Come out and play, little mouse!$"
Route16_Text_LukeDefeat::
.string "You little rat!$"
Route16_Text_LukePostBattle::
.string "I hate losing!\n"
.string "Get out of my face!$"
Route16_Text_HideoIntro::
.string "Hey, you just bumped me!$"
Route16_Text_HideoDefeat::
.string "Kaboom!$"
Route16_Text_HideoPostBattle::
.string "We'll always be hanging around here\n"
.string "even if you don't like it.\p"
.string "You can detour to VERMILION from\n"
.string "FUCHSIA going along the coast.$"
Route16_Text_CamronIntro::
.string "I'm feeling hungry and mean!\n"
.string "I need a punching bag!$"
Route16_Text_CamronDefeat::
.string "Bad, bad, bad!$"
Route16_Text_CamronPostBattle::
.string "If I'm going to have POKéMON, they\n"
.string "may as well be ferocious.\p"
.string "I'd use them to leave my enemies\n"
.string "in tatters.$"
Route16_Text_RubenIntro::
.string "Hey, there!\n"
.string "Let's have ourselves a good time!$"
Route16_Text_RubenDefeat::
.string "Don't make me mad!$"
Route16_Text_RubenPostBattle::
.string "I get my kicks by harassing people\n"
.string "with my stinking POKéMON.\p"
.string "They're great for startling people.\n"
.string "And, they bite, too.$"
Route16_Text_MonSprawledOutInSlumber::
.string "A POKéMON is sprawled out in\n"
.string "a deep and comfortable slumber.$"
Route16_Text_CyclingRoadSign::
.string "Enjoy the slope!\n"
.string "CYCLING ROAD$"
Route16_Text_RouteSign::
.string "ROUTE 16\n"
.string "CELADON CITY - FUCHSIA CITY$"
Route16_Text_JedIntro::
.string "JED: Our love knows no bounds.\n"
.string "We're in love and we show it!$"
Route16_Text_JedDefeat::
.string "JED: Oh, no!\n"
.string "My love has seen me as a loser!$"
Route16_Text_JedPostBattle::
.string "JED: Listen, LEA.\n"
.string "You need to focus less on me.$"
Route16_Text_JedNotEnoughMons::
.string "JED: You have just one POKéMON?\n"
.string "Is there no love in your heart?$"
Route16_Text_LeaIntro::
.string "LEA: Sometimes, the intensity of\n"
.string "our love scares me.$"
Route16_Text_LeaDefeat::
.string "LEA: Ohh! But JED looks cool\n"
.string "even in a loss!$"
Route16_Text_LeaPostBattle::
.string "LEA: Ehehe, I'm sorry.\n"
.string "JED is so cool.$"
Route16_Text_LeaNotEnoughMons::
.string "LEA: Oh, you don't have two\n"
.string "POKéMON with you?\p"
.string "Doesn't it feel lonely for you or\n"
.string "your POKéMON?$"