Document remaining routes (104, 119-123)

This commit is contained in:
GriffinR
2019-11-12 11:07:43 -05:00
committed by huderlem
parent 525ec2025d
commit 00f22b6400
21 changed files with 1142 additions and 1141 deletions

View File

@@ -43,8 +43,8 @@ FortreeCity_Gym_EventScript_WinonaDefeated:: @ 82165FD
closemessage
delay 30
setflag FLAG_ENABLE_WINONA_MATCH_CALL
setvar VAR_WINONA_CALL_STEP_COUNTER, 0
setflag FLAG_REGISTER_WINONA_POKENAV
setvar VAR_SCOTT_FORTREE_CALL_STEP_COUNTER, 0
setflag FLAG_SCOTT_CALL_FORTREE_GYM
release
end

View File

@@ -212,8 +212,8 @@ LittlerootTown_ProfessorBirchsLab_EventScript_UpgradeToNationalDex:: @ 81F9E80
setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCH
setflag FLAG_HIDE_LITTLEROOT_TOWN_RIVAL
setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2
setvar VAR_SCOTT_CALL_STEP_COUNTER, 0
setflag FLAG_SCOTT_CALL_NATIONAL_DEX
setvar VAR_SCOTT_BF_CALL_STEP_COUNTER, 0
setflag FLAG_SCOTT_CALL_BATTLE_FRONTIER
releaseall
end
@@ -703,7 +703,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall:: @ 81FA4D6
lockall
pokenavcall LittlerootTown_ProfessorBirchsLab_Text_ScottAboardSSTidalCall
waitmessage
clearflag FLAG_SCOTT_CALL_NATIONAL_DEX
clearflag FLAG_SCOTT_CALL_BATTLE_FRONTIER
releaseall
end

View File

@@ -40,7 +40,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED00F",
"script": "Route104_EventScript_BugCatcher",
"flag": "0"
},
{
@@ -53,7 +53,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED006",
"script": "Route104_EventScript_Girl1",
"flag": "0"
},
{
@@ -66,7 +66,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
"script": "Route104_EventScript_1ED38D",
"script": "Route104_EventScript_Haley",
"flag": "0"
},
{
@@ -79,7 +79,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED045",
"script": "Route104_EventScript_Boy1",
"flag": "0"
},
{
@@ -92,7 +92,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED04E",
"script": "Route104_EventScript_Woman",
"flag": "0"
},
{
@@ -105,7 +105,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED090",
"script": "Route104_EventScript_Girl2",
"flag": "0"
},
{
@@ -144,7 +144,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED35F",
"script": "Route104_EventScript_Ivan",
"flag": "0"
},
{
@@ -235,7 +235,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ECF8C",
"script": "Route104_EventScript_ExpertF",
"flag": "0"
},
{
@@ -313,7 +313,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ECFCD",
"script": "Route104_EventScript_WhiteHerbFlorist",
"flag": "FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST"
},
{
@@ -326,7 +326,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route104_EventScript_1ED597",
"script": "Route104_EventScript_Gina",
"flag": "0"
},
{
@@ -339,7 +339,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route104_EventScript_1ED5B6",
"script": "Route104_EventScript_Mia",
"flag": "0"
},
{
@@ -352,7 +352,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_1ED43B",
"script": "Route104_EventScript_Winston",
"flag": "0"
},
{
@@ -365,7 +365,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_1ED4E9",
"script": "Route104_EventScript_Cindy",
"flag": "0"
},
{
@@ -391,7 +391,7 @@
"movement_range_y": 6,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route104_EventScript_1ED376",
"script": "Route104_EventScript_Billy",
"flag": "0"
},
{
@@ -443,7 +443,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED057",
"script": "Route104_EventScript_Boy2",
"flag": "0"
},
{
@@ -456,7 +456,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED5D5",
"script": "Route104_EventScript_Darian",
"flag": "0"
},
{
@@ -469,7 +469,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ECC9E",
"script": "Route104_EventScript_Rival",
"flag": "FLAG_HIDE_ROUTE_104_RIVAL"
}
],
@@ -539,7 +539,7 @@
"elevation": 3,
"var": "VAR_ROUTE104_STATE",
"var_value": "1",
"script": "Route104_EventScript_1ECCB3"
"script": "Route104_EventScript_RivalTrigger"
}
],
"bg_events": [
@@ -549,7 +549,7 @@
"y": 50,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED018"
"script": "Route104_EventScript_BrineysCottageSign"
},
{
"type": "sign",
@@ -557,7 +557,7 @@
"y": 66,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED021"
"script": "Route104_EventScript_RouteSignPetalburg"
},
{
"type": "sign",
@@ -565,7 +565,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED02A"
"script": "Route104_EventScript_RouteSignRustboro"
},
{
"type": "sign",
@@ -573,7 +573,7 @@
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED033"
"script": "Route104_EventScript_FlowerShopSign"
},
{
"type": "sign",
@@ -581,7 +581,7 @@
"y": 23,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED03C"
"script": "Route104_EventScript_TrainerTipsDoubleBattles"
},
{
"type": "hidden_item",

File diff suppressed because it is too large Load Diff

View File

@@ -74,7 +74,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F47E2",
"script": "Route119_EventScript_Greg",
"flag": "0"
},
{
@@ -87,7 +87,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F47B4",
"script": "Route119_EventScript_Taylor",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F479D",
"script": "Route119_EventScript_Donald",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F4810",
"script": "Route119_EventScript_Jackson",
"flag": "0"
},
{
@@ -126,7 +126,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F4786",
"script": "Route119_EventScript_Brent",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route119_EventScript_1F4872",
"script": "Route119_EventScript_Catherine",
"flag": "0"
},
{
@@ -152,7 +152,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F47CB",
"script": "Route119_EventScript_Doug",
"flag": "0"
},
{
@@ -165,7 +165,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F47F9",
"script": "Route119_EventScript_Kent",
"flag": "0"
},
{
@@ -178,7 +178,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F4902",
"script": "Route119_EventScript_Yasu",
"flag": "0"
},
{
@@ -191,7 +191,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F4919",
"script": "Route119_EventScript_Takashi",
"flag": "0"
},
{
@@ -204,7 +204,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F48D4",
"script": "Route119_EventScript_Hugh",
"flag": "0"
},
{
@@ -217,7 +217,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
"script": "Route119_EventScript_1F48EB",
"script": "Route119_EventScript_Phil",
"flag": "0"
},
{
@@ -321,7 +321,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F49A3",
"script": "Route119_EventScript_BridgeAquaGrunt1",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
},
{
@@ -334,7 +334,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F49BA",
"script": "Route119_EventScript_BridgeAquaGrunt2",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
},
{
@@ -360,7 +360,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F49D1",
"script": "Route119_EventScript_Boy1",
"flag": "0"
},
{
@@ -425,7 +425,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F476B",
"script": "Route119_EventScript_CyclingTriathleteM",
"flag": "0"
},
{
@@ -451,7 +451,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F49DA",
"script": "Route119_EventScript_Boy2",
"flag": "0"
},
{
@@ -464,7 +464,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F4930",
"script": "Route119_EventScript_Hideo",
"flag": "0"
},
{
@@ -503,7 +503,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F4947",
"script": "Route119_EventScript_Chris",
"flag": "0"
},
{
@@ -516,7 +516,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5",
"script": "Route119_EventScript_1F498C",
"script": "Route119_EventScript_Rachel",
"flag": "0"
},
{
@@ -529,7 +529,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F4975",
"script": "Route119_EventScript_Dayton",
"flag": "0"
},
{
@@ -542,7 +542,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route119_EventScript_1F495E",
"script": "Route119_EventScript_Fabian",
"flag": "0"
},
{
@@ -609,7 +609,7 @@
"elevation": 0,
"var": "VAR_ROUTE119_STATE",
"var_value": "0",
"script": "Route119_EventScript_1F4472"
"script": "Route119_EventScript_RivalTrigger1"
},
{
"type": "trigger",
@@ -618,7 +618,7 @@
"elevation": 0,
"var": "VAR_ROUTE119_STATE",
"var_value": "0",
"script": "Route119_EventScript_1F447D"
"script": "Route119_EventScript_RivalTrigger2"
},
{
"type": "weather",
@@ -775,7 +775,7 @@
"y": 33,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route119_EventScript_1F477D"
"script": "Route119_EventScript_WeatherInstituteSign"
},
{
"type": "sign",
@@ -783,7 +783,7 @@
"y": 19,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route119_EventScript_1F4774"
"script": "Route119_EventScript_RouteSignFortree"
},
{
"type": "secret_base",
@@ -914,7 +914,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route119_EventScript_1F49E3"
"script": "Route119_EventScript_TrainerTipsDecoration"
}
]
}

View File

@@ -1,13 +1,13 @@
Route119_MapScripts:: @ 81F4424
map_script MAP_SCRIPT_ON_RESUME, Route119_MapScript1_1F442F
map_script MAP_SCRIPT_ON_RESUME, Route119_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, Route119_OnTransition
.byte 0
Route119_MapScript1_1F442F: @ 81F442F
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route119_EventScript_1F4439
Route119_OnResume: @ 81F442F
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route119_EventScript_TryRemoveKecleon
end
Route119_EventScript_1F4439:: @ 81F4439
Route119_EventScript_TryRemoveKecleon:: @ 81F4439
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
@@ -18,231 +18,231 @@ Route119_OnTransition: @ 81F444D
call Common_EventScript_SetupRivalGfxId
call Common_EventScript_SetupRivalOnBikeGfxId
compare VAR_WEATHER_INSTITUTE_STATE, 1
call_if_eq Route119_EventScript_1F4466
call_if_eq Route119_EventScript_MoveInstituteWorkersDownstairs
special SetRoute119Weather
end
Route119_EventScript_1F4466:: @ 81F4466
Route119_EventScript_MoveInstituteWorkersDownstairs:: @ 81F4466
setflag FLAG_HIDE_WEATHER_INSTITUTE_2F_WORKERS
clearflag FLAG_HIDE_WEATHER_INSTITUTE_1F_WORKERS
setvar VAR_WEATHER_INSTITUTE_STATE, 2
return
Route119_EventScript_1F4472:: @ 81F4472
Route119_EventScript_RivalTrigger1:: @ 81F4472
setvar VAR_TEMP_1, 1
goto Route119_EventScript_1F4488
goto Route119_EventScript_RivalEncounter
end
Route119_EventScript_1F447D:: @ 81F447D
Route119_EventScript_RivalTrigger2:: @ 81F447D
setvar VAR_TEMP_1, 2
goto Route119_EventScript_1F4488
goto Route119_EventScript_RivalEncounter
end
Route119_EventScript_1F4488:: @ 81F4488
Route119_EventScript_RivalEncounter:: @ 81F4488
lockall
addobject 25
addobject 25 @ Rival on bike
checkplayergender
compare VAR_RESULT, MALE
call_if_eq Route119_EventScript_1F4501
call_if_eq Route119_EventScript_PlayMayMusic
compare VAR_RESULT, FEMALE
call_if_eq Route119_EventScript_1F4506
call_if_eq Route119_EventScript_PlayBrendanMusic
delay 65
compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F46C6
call_if_eq Route119_EventScript_RivalEnter1
compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F46D1
call_if_eq Route119_EventScript_RivalEnter2
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
delay 30
compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F4700
call_if_eq Route119_EventScript_SetRivalPos1
compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F470F
call_if_eq Route119_EventScript_SetRivalPos2
removeobject 25
addobject 16
addobject 16 @ Rival on foot
delay 30
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq Route119_EventScript_1F450B
goto_if_eq Route119_EventScript_BattleMay
compare VAR_RESULT, FEMALE
goto_if_eq Route119_EventScript_1F4585
goto_if_eq Route119_EventScript_BattleBrendan
releaseall
end
Route119_EventScript_1F4501:: @ 81F4501
Route119_EventScript_PlayMayMusic:: @ 81F4501
playbgm MUS_GIRL_SUP, 1
return
Route119_EventScript_1F4506:: @ 81F4506
Route119_EventScript_PlayBrendanMusic:: @ 81F4506
playbgm MUS_BOY_SUP, 1
return
Route119_EventScript_1F450B:: @ 81F450B
msgbox Route119_Text_1F49FD, MSGBOX_DEFAULT
Route119_EventScript_BattleMay:: @ 81F450B
msgbox Route119_Text_MayIntro, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, Route119_EventScript_1F453A
case 1, Route119_EventScript_1F454A
case 2, Route119_EventScript_1F455A
case 0, Route119_EventScript_BattleMayTreecko
case 1, Route119_EventScript_BattleMayTorchic
case 2, Route119_EventScript_BattleMayMudkip
end
Route119_EventScript_1F453A:: @ 81F453A
trainerbattle_no_intro TRAINER_MAY_6, Route119_Text_1F4A98
goto Route119_EventScript_1F456A
Route119_EventScript_BattleMayTreecko:: @ 81F453A
trainerbattle_no_intro TRAINER_MAY_6, Route119_Text_MayDefeat
goto Route119_EventScript_DefeatedMay
end
Route119_EventScript_1F454A:: @ 81F454A
trainerbattle_no_intro TRAINER_MAY_9, Route119_Text_1F4A98
goto Route119_EventScript_1F456A
Route119_EventScript_BattleMayTorchic:: @ 81F454A
trainerbattle_no_intro TRAINER_MAY_9, Route119_Text_MayDefeat
goto Route119_EventScript_DefeatedMay
end
Route119_EventScript_1F455A:: @ 81F455A
trainerbattle_no_intro TRAINER_MAY_3, Route119_Text_1F4A98
goto Route119_EventScript_1F456A
Route119_EventScript_BattleMayMudkip:: @ 81F455A
trainerbattle_no_intro TRAINER_MAY_3, Route119_Text_MayDefeat
goto Route119_EventScript_DefeatedMay
end
Route119_EventScript_1F456A:: @ 81F456A
msgbox Route119_Text_1F4AF3, MSGBOX_DEFAULT
call Route119_EventScript_1F45FF
msgbox Route119_Text_1F4B56, MSGBOX_DEFAULT
goto Route119_EventScript_1F460F
Route119_EventScript_DefeatedMay:: @ 81F456A
msgbox Route119_Text_MayPresentForYou, MSGBOX_DEFAULT
call Route119_EventScript_GiveFlyHM
msgbox Route119_Text_MayExplainFly, MSGBOX_DEFAULT
goto Route119_EventScript_RivalExitScottArrive
end
Route119_EventScript_1F4585:: @ 81F4585
msgbox Route119_Text_1F4C9A, MSGBOX_DEFAULT
Route119_EventScript_BattleBrendan:: @ 81F4585
msgbox Route119_Text_BrendanIntro, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, Route119_EventScript_1F45B4
case 1, Route119_EventScript_1F45C4
case 2, Route119_EventScript_1F45D4
case 0, Route119_EventScript_BattleBrendanTreecko
case 1, Route119_EventScript_BattleBrendanTorchic
case 2, Route119_EventScript_BattleBrendanMudkip
end
Route119_EventScript_1F45B4:: @ 81F45B4
trainerbattle_no_intro TRAINER_BRENDAN_6, Route119_Text_1F4D24
goto Route119_EventScript_1F45E4
Route119_EventScript_BattleBrendanTreecko:: @ 81F45B4
trainerbattle_no_intro TRAINER_BRENDAN_6, Route119_Text_BrendanDefeat
goto Route119_EventScript_DefeatedBrendan
end
Route119_EventScript_1F45C4:: @ 81F45C4
trainerbattle_no_intro TRAINER_BRENDAN_9, Route119_Text_1F4D24
goto Route119_EventScript_1F45E4
Route119_EventScript_BattleBrendanTorchic:: @ 81F45C4
trainerbattle_no_intro TRAINER_BRENDAN_9, Route119_Text_BrendanDefeat
goto Route119_EventScript_DefeatedBrendan
end
Route119_EventScript_1F45D4:: @ 81F45D4
trainerbattle_no_intro TRAINER_BRENDAN_3, Route119_Text_1F4D24
goto Route119_EventScript_1F45E4
Route119_EventScript_BattleBrendanMudkip:: @ 81F45D4
trainerbattle_no_intro TRAINER_BRENDAN_3, Route119_Text_BrendanDefeat
goto Route119_EventScript_DefeatedBrendan
end
Route119_EventScript_1F45E4:: @ 81F45E4
msgbox Route119_Text_1F4D4B, MSGBOX_DEFAULT
call Route119_EventScript_1F45FF
msgbox Route119_Text_1F4DB5, MSGBOX_DEFAULT
goto Route119_EventScript_1F460F
Route119_EventScript_DefeatedBrendan:: @ 81F45E4
msgbox Route119_Text_BrendanIllGiveYouThis, MSGBOX_DEFAULT
call Route119_EventScript_GiveFlyHM
msgbox Route119_Text_BrendanExplainFly, MSGBOX_DEFAULT
goto Route119_EventScript_RivalExitScottArrive
end
Route119_EventScript_1F45FF:: @ 81F45FF
Route119_EventScript_GiveFlyHM:: @ 81F45FF
giveitem_std ITEM_HM02
setflag FLAG_RECEIVED_HM02
return
Route119_EventScript_1F460F:: @ 81F460F
Route119_EventScript_RivalExitScottArrive:: @ 81F460F
closemessage
compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F4700
call_if_eq Route119_EventScript_SetRivalPos1
compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F470F
removeobject 16
addobject 25
call_if_eq Route119_EventScript_SetRivalPos2
removeobject 16 @ Rival on foot
addobject 25 @ Rival on bike
delay 30
compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F46DC
call_if_eq Route119_EventScript_RivalExit1
compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F46EE
call_if_eq Route119_EventScript_RivalExit2
removeobject 25
setvar VAR_ROUTE119_STATE, 1
savebgm MUS_DUMMY
fadedefaultbgm
delay 60
compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F46A0
call_if_eq Route119_EventScript_SetScottPos1
compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F46A8
addobject 43
applymovement 43, Route119_Movement_1F4752
call_if_eq Route119_EventScript_SetScottPos2
addobject 43 @ Scott
applymovement 43, Route119_Movement_ScottEnter
waitmovement 0
addvar VAR_SCOTT_STATE, 1
msgbox Route119_Text_1F4E60, MSGBOX_DEFAULT
msgbox Route119_Text_ScottWayToGoBeSeeingYou, MSGBOX_DEFAULT
closemessage
compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F46B0
call_if_eq Route119_EventScript_ScottExit1
compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F46BB
call_if_eq Route119_EventScript_ScottExit2
removeobject 43
releaseall
end
Route119_EventScript_1F46A0:: @ 81F46A0
Route119_EventScript_SetScottPos1:: @ 81F46A0
setobjectxyperm 43, 27, 25
return
Route119_EventScript_1F46A8:: @ 81F46A8
Route119_EventScript_SetScottPos2:: @ 81F46A8
setobjectxyperm 43, 28, 25
return
Route119_EventScript_1F46B0:: @ 81F46B0
applymovement 43, Route119_Movement_1F475A
Route119_EventScript_ScottExit1:: @ 81F46B0
applymovement 43, Route119_Movement_ScottExit1
waitmovement 0
return
Route119_EventScript_1F46BB:: @ 81F46BB
applymovement 43, Route119_Movement_1F4763
Route119_EventScript_ScottExit2:: @ 81F46BB
applymovement 43, Route119_Movement_ScottExit2
waitmovement 0
return
Route119_EventScript_1F46C6:: @ 81F46C6
applymovement 25, Route119_Movement_1F4728
Route119_EventScript_RivalEnter1:: @ 81F46C6
applymovement 25, Route119_Movement_RivalEnter1
waitmovement 0
return
Route119_EventScript_1F46D1:: @ 81F46D1
applymovement 25, Route119_Movement_1F4732
Route119_EventScript_RivalEnter2:: @ 81F46D1
applymovement 25, Route119_Movement_RivalEnter2
waitmovement 0
return
Route119_EventScript_1F46DC:: @ 81F46DC
applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_1F471E
applymovement 25, Route119_Movement_1F473D
Route119_EventScript_RivalExit1:: @ 81F46DC
applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_PlayerWatchRivalExit1
applymovement 25, Route119_Movement_RivalExit1
waitmovement 0
return
Route119_EventScript_1F46EE:: @ 81F46EE
applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_1F4723
applymovement 25, Route119_Movement_1F4747
Route119_EventScript_RivalExit2:: @ 81F46EE
applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_PlayerWatchRivalExit2
applymovement 25, Route119_Movement_RivalExit2
waitmovement 0
return
Route119_EventScript_1F4700:: @ 81F4700
Route119_EventScript_SetRivalPos1:: @ 81F4700
setobjectxyperm 16, 25, 32
setobjectxyperm 25, 25, 32
return
Route119_EventScript_1F470F:: @ 81F470F
Route119_EventScript_SetRivalPos2:: @ 81F470F
setobjectxyperm 16, 26, 32
setobjectxyperm 25, 26, 32
return
Route119_Movement_1F471E: @ 81F471E
Route119_Movement_PlayerWatchRivalExit1: @ 81F471E
delay_16
walk_in_place_fastest_right
delay_8
walk_in_place_fastest_up
step_end
Route119_Movement_1F4723: @ 81F4723
Route119_Movement_PlayerWatchRivalExit2: @ 81F4723
delay_16
walk_in_place_fastest_left
delay_8
walk_in_place_fastest_up
step_end
Route119_Movement_1F4728: @ 81F4728
Route119_Movement_RivalEnter1: @ 81F4728
walk_fast_right
walk_fast_right
walk_fast_right
@@ -254,7 +254,7 @@ Route119_Movement_1F4728: @ 81F4728
walk_fast_up
step_end
Route119_Movement_1F4732: @ 81F4732
Route119_Movement_RivalEnter2: @ 81F4732
walk_fast_right
walk_fast_right
walk_fast_right
@@ -267,7 +267,7 @@ Route119_Movement_1F4732: @ 81F4732
walk_fast_up
step_end
Route119_Movement_1F473D: @ 81F473D
Route119_Movement_RivalExit1: @ 81F473D
walk_fast_right
walk_fast_up
walk_fast_up
@@ -279,7 +279,7 @@ Route119_Movement_1F473D: @ 81F473D
walk_fast_up
step_end
Route119_Movement_1F4747: @ 81F4747
Route119_Movement_RivalExit2: @ 81F4747
walk_fast_left
walk_fast_up
walk_fast_up
@@ -292,7 +292,7 @@ Route119_Movement_1F4747: @ 81F4747
walk_fast_up
step_end
Route119_Movement_1F4752: @ 81F4752
Route119_Movement_ScottEnter: @ 81F4752
walk_down
walk_down
walk_down
@@ -302,7 +302,7 @@ Route119_Movement_1F4752: @ 81F4752
walk_down
step_end
Route119_Movement_1F475A: @ 81F475A
Route119_Movement_ScottExit1: @ 81F475A
walk_up
walk_right
walk_right
@@ -313,7 +313,7 @@ Route119_Movement_1F475A: @ 81F475A
walk_up
step_end
Route119_Movement_1F4763: @ 81F4763
Route119_Movement_ScottExit2: @ 81F4763
walk_up
walk_right
walk_up
@@ -323,179 +323,179 @@ Route119_Movement_1F4763: @ 81F4763
walk_up
step_end
Route119_EventScript_1F476B:: @ 81F476B
msgbox Route119_Text_1F5261, MSGBOX_NPC
Route119_EventScript_CyclingTriathleteM:: @ 81F476B
msgbox Route119_Text_TallGrassSnaresBikeTires, MSGBOX_NPC
end
Route119_EventScript_1F4774:: @ 81F4774
msgbox Route119_Text_1F530E, MSGBOX_SIGN
Route119_EventScript_RouteSignFortree:: @ 81F4774
msgbox Route119_Text_RouteSignFortree, MSGBOX_SIGN
end
Route119_EventScript_1F477D:: @ 81F477D
msgbox Route119_Text_1F5327, MSGBOX_SIGN
Route119_EventScript_WeatherInstituteSign:: @ 81F477D
msgbox Route119_Text_WeatherInstitute, MSGBOX_SIGN
end
Route119_EventScript_1F4786:: @ 81F4786
trainerbattle_single TRAINER_BRENT, Route119_Text_29D8C2, Route119_Text_29D8F0
msgbox Route119_Text_29D902, MSGBOX_AUTOCLOSE
Route119_EventScript_Brent:: @ 81F4786
trainerbattle_single TRAINER_BRENT, Route119_Text_BrentIntro, Route119_Text_BrentDefeat
msgbox Route119_Text_BrentPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F479D:: @ 81F479D
trainerbattle_single TRAINER_DONALD, Route119_Text_29D941, Route119_Text_29D97C
msgbox Route119_Text_29D993, MSGBOX_AUTOCLOSE
Route119_EventScript_Donald:: @ 81F479D
trainerbattle_single TRAINER_DONALD, Route119_Text_DonaldIntro, Route119_Text_DonaldDefeat
msgbox Route119_Text_DonaldPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F47B4:: @ 81F47B4
trainerbattle_single TRAINER_TAYLOR, Route119_Text_29D9CD, Route119_Text_29DA14
msgbox Route119_Text_29DA2C, MSGBOX_AUTOCLOSE
Route119_EventScript_Taylor:: @ 81F47B4
trainerbattle_single TRAINER_TAYLOR, Route119_Text_TaylorIntro, Route119_Text_TaylorDefeat
msgbox Route119_Text_TaylorPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F47CB:: @ 81F47CB
trainerbattle_single TRAINER_DOUG, Route119_Text_29DA7D, Route119_Text_29DABC
msgbox Route119_Text_29DADB, MSGBOX_AUTOCLOSE
Route119_EventScript_Doug:: @ 81F47CB
trainerbattle_single TRAINER_DOUG, Route119_Text_DougIntro, Route119_Text_DougDefeat
msgbox Route119_Text_DougPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F47E2:: @ 81F47E2
trainerbattle_single TRAINER_GREG, Route119_Text_29DB17, Route119_Text_29DB66
msgbox Route119_Text_29DB7C, MSGBOX_AUTOCLOSE
Route119_EventScript_Greg:: @ 81F47E2
trainerbattle_single TRAINER_GREG, Route119_Text_GregIntro, Route119_Text_GregDefeat
msgbox Route119_Text_GregPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F47F9:: @ 81F47F9
trainerbattle_single TRAINER_KENT, Route119_Text_29DBC2, Route119_Text_29DC20
msgbox Route119_Text_29DC2B, MSGBOX_AUTOCLOSE
Route119_EventScript_Kent:: @ 81F47F9
trainerbattle_single TRAINER_KENT, Route119_Text_KentIntro, Route119_Text_KentDefeat
msgbox Route119_Text_KentPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F4810:: @ 81F4810
trainerbattle_single TRAINER_JACKSON_1, Route119_Text_29DC4C, Route119_Text_29DC9F, Route119_EventScript_1F483C
Route119_EventScript_Jackson:: @ 81F4810
trainerbattle_single TRAINER_JACKSON_1, Route119_Text_JacksonIntro, Route119_Text_JacksonDefeat, Route119_EventScript_RegisterJackson
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route119_EventScript_1F485B
msgbox Route119_Text_29DCC6, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route119_EventScript_RematchJackson
msgbox Route119_Text_JacksonPostBattle, MSGBOX_DEFAULT
release
end
Route119_EventScript_1F483C:: @ 81F483C
Route119_EventScript_RegisterJackson:: @ 81F483C
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route119_Text_29DD1C, MSGBOX_DEFAULT
msgbox Route119_Text_JacksonRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JACKSON_1
release
end
Route119_EventScript_1F485B:: @ 81F485B
trainerbattle_rematch TRAINER_JACKSON_1, Route119_Text_29DD62, Route119_Text_29DDA5
msgbox Route119_Text_29DDBD, MSGBOX_AUTOCLOSE
Route119_EventScript_RematchJackson:: @ 81F485B
trainerbattle_rematch TRAINER_JACKSON_1, Route119_Text_JacksonRematchIntro, Route119_Text_JacksonRematchDefeat
msgbox Route119_Text_JacksonPostRematch, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F4872:: @ 81F4872
trainerbattle_single TRAINER_CATHERINE_1, Route119_Text_29DE0F, Route119_Text_29DE5D, Route119_EventScript_1F489E
Route119_EventScript_Catherine:: @ 81F4872
trainerbattle_single TRAINER_CATHERINE_1, Route119_Text_CatherineIntro, Route119_Text_CatherineDefeat, Route119_EventScript_RegisterCatherine
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route119_EventScript_1F48BD
msgbox Route119_Text_29DE88, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route119_EventScript_RematchCatherine
msgbox Route119_Text_CatherinePostBattle, MSGBOX_DEFAULT
release
end
Route119_EventScript_1F489E:: @ 81F489E
Route119_EventScript_RegisterCatherine:: @ 81F489E
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route119_Text_29DEF7, MSGBOX_DEFAULT
msgbox Route119_Text_CatherineRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CATHERINE_1
release
end
Route119_EventScript_1F48BD:: @ 81F48BD
trainerbattle_rematch TRAINER_CATHERINE_1, Route119_Text_29DF6B, Route119_Text_29DF92
msgbox Route119_Text_29DFAF, MSGBOX_AUTOCLOSE
Route119_EventScript_RematchCatherine:: @ 81F48BD
trainerbattle_rematch TRAINER_CATHERINE_1, Route119_Text_CatherineRematchIntro, Route119_Text_CatherineRematchDefeat
msgbox Route119_Text_CatherinePostRematch, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F48D4:: @ 81F48D4
trainerbattle_single TRAINER_HUGH, Route119_Text_29E007, Route119_Text_29E063
msgbox Route119_Text_29E071, MSGBOX_AUTOCLOSE
Route119_EventScript_Hugh:: @ 81F48D4
trainerbattle_single TRAINER_HUGH, Route119_Text_HughIntro, Route119_Text_HughDefeat
msgbox Route119_Text_HughPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F48EB:: @ 81F48EB
trainerbattle_single TRAINER_PHIL, Route119_Text_29E0A5, Route119_Text_29E0E1
msgbox Route119_Text_29E0F6, MSGBOX_AUTOCLOSE
Route119_EventScript_Phil:: @ 81F48EB
trainerbattle_single TRAINER_PHIL, Route119_Text_PhilIntro, Route119_Text_PhilDefeat
msgbox Route119_Text_PhilPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F4902:: @ 81F4902
trainerbattle_single TRAINER_YASU, Route119_Text_29E134, Route119_Text_29E18D
msgbox Route119_Text_29E19D, MSGBOX_AUTOCLOSE
Route119_EventScript_Yasu:: @ 81F4902
trainerbattle_single TRAINER_YASU, Route119_Text_YasuIntro, Route119_Text_YasuDefeat
msgbox Route119_Text_YasuPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F4919:: @ 81F4919
trainerbattle_single TRAINER_TAKASHI, Route119_Text_29E1F5, Route119_Text_29E22B
msgbox Route119_Text_29E245, MSGBOX_AUTOCLOSE
Route119_EventScript_Takashi:: @ 81F4919
trainerbattle_single TRAINER_TAKASHI, Route119_Text_TakashiIntro, Route119_Text_TakashiDefeat
msgbox Route119_Text_TakashiPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F4930:: @ 81F4930
trainerbattle_single TRAINER_HIDEO, Route119_Text_29E26A, Route119_Text_29E288
msgbox Route119_Text_29E2A3, MSGBOX_AUTOCLOSE
Route119_EventScript_Hideo:: @ 81F4930
trainerbattle_single TRAINER_HIDEO, Route119_Text_HideoIntro, Route119_Text_HideoDefeat
msgbox Route119_Text_HideoPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F4947:: @ 81F4947
trainerbattle_single TRAINER_CHRIS, Route119_Text_29E30D, Route119_Text_29E372
msgbox Route119_Text_29E3A2, MSGBOX_AUTOCLOSE
Route119_EventScript_Chris:: @ 81F4947
trainerbattle_single TRAINER_CHRIS, Route119_Text_ChrisIntro, Route119_Text_ChrisDefeat
msgbox Route119_Text_ChrisPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F495E:: @ 81F495E
trainerbattle_single TRAINER_FABIAN, Route119_Text_29E3FF, Route119_Text_29E44F
msgbox Route119_Text_29E492, MSGBOX_AUTOCLOSE
Route119_EventScript_Fabian:: @ 81F495E
trainerbattle_single TRAINER_FABIAN, Route119_Text_FabianIntro, Route119_Text_FabianDefeat
msgbox Route119_Text_FabianPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F4975:: @ 81F4975
trainerbattle_single TRAINER_DAYTON, Route119_Text_29E4DF, Route119_Text_29E513
msgbox Route119_Text_29E532, MSGBOX_AUTOCLOSE
Route119_EventScript_Dayton:: @ 81F4975
trainerbattle_single TRAINER_DAYTON, Route119_Text_DaytonIntro, Route119_Text_DaytonDefeat
msgbox Route119_Text_DaytonPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F498C:: @ 81F498C
trainerbattle_single TRAINER_RACHEL, Route119_Text_29E56F, Route119_Text_29E5B1
msgbox Route119_Text_29E5CB, MSGBOX_AUTOCLOSE
Route119_EventScript_Rachel:: @ 81F498C
trainerbattle_single TRAINER_RACHEL, Route119_Text_RachelIntro, Route119_Text_RachelDefeat
msgbox Route119_Text_RachelPostBattle, MSGBOX_AUTOCLOSE
end
Route119_EventScript_1F49A3:: @ 81F49A3
Route119_EventScript_BridgeAquaGrunt1:: @ 81F49A3
lock
faceplayer
msgbox Route119_Text_1F50EB, MSGBOX_DEFAULT
msgbox Route119_Text_StayAwayFromWeatherInstitute, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
Route119_EventScript_1F49BA:: @ 81F49BA
Route119_EventScript_BridgeAquaGrunt2:: @ 81F49BA
lock
faceplayer
msgbox Route119_Text_1F5147, MSGBOX_DEFAULT
msgbox Route119_Text_DontGoNearWeatherInstitute, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
Route119_EventScript_1F49D1:: @ 81F49D1
msgbox Route119_Text_1F51A2, MSGBOX_NPC
Route119_EventScript_Boy1:: @ 81F49D1
msgbox Route119_Text_ThoughtFlyByCatchingBirdMons, MSGBOX_NPC
end
Route119_EventScript_1F49DA:: @ 81F49DA
msgbox Route119_Text_1F52B9, MSGBOX_NPC
Route119_EventScript_Boy2:: @ 81F49DA
msgbox Route119_Text_CanYourMonMakeSecretBase, MSGBOX_NPC
end
Route119_EventScript_1F49E3:: @ 81F49E3
msgbox Route119_Text_1F5339, MSGBOX_SIGN
Route119_EventScript_TrainerTipsDecoration:: @ 81F49E3
msgbox Route119_Text_TrainerTipsDecoration, MSGBOX_SIGN
end
Route119_EventScript_1F49EC:: @ 81F49EC
Route119_EventScript_ScottWonAtFortreeGymCall:: @ 81F49EC
lockall
pokenavcall Route119_Text_1F4FBA
pokenavcall Route119_Text_ScottYouWonAtFortreeGym
waitmessage
clearflag FLAG_REGISTER_WINONA_POKENAV
clearflag FLAG_SCOTT_CALL_FORTREE_GYM
addvar VAR_SCOTT_STATE, 1
releaseall
end
Route119_Text_1F49FD: @ 81F49FD
Route119_Text_MayIntro: @ 81F49FD
.string "MAY: {PLAYER}{KUN}!\n"
.string "Where were you? I was looking for you!\p"
.string "How much stronger have you gotten?\n"
@@ -503,18 +503,18 @@ Route119_Text_1F49FD: @ 81F49FD
.string "Ready with your POKéMON?\n"
.string "Of course you are! Go!$"
Route119_Text_1F4A98: @ 81F4A98
Route119_Text_MayDefeat: @ 81F4A98
.string "Achah!\n"
.string "{PLAYER}{KUN}, you're strong!\p"
.string "I was worried that you might be\n"
.string "struggling with your training.$"
Route119_Text_1F4AF3: @ 81F4AF3
Route119_Text_MayPresentForYou: @ 81F4AF3
.string "MAY: But I had absolutely nothing to\n"
.string "worry about! Keep it up!\p"
.string "And, here! I have a present for you.$"
Route119_Text_1F4B56: @ 81F4B56
Route119_Text_MayExplainFly: @ 81F4B56
.string "MAY: Use FLY, and your POKéMON will\n"
.string "instantly carry you to any town you've\l"
.string "already visited.\p"
@@ -527,7 +527,7 @@ Route119_Text_1F4B56: @ 81F4B56
.string "{PLAYER}{KUN}.\p"
.string "Well, let's meet again somewhere!$"
Route119_Text_1F4C9A: @ 81F4C9A
Route119_Text_BrendanIntro: @ 81F4C9A
.string "BRENDAN: {PLAYER}! So this is where\n"
.string "you've been looking for POKéMON?\p"
.string "Let me see how good you got.\n"
@@ -535,17 +535,17 @@ Route119_Text_1F4C9A: @ 81F4C9A
.string "Now!\n"
.string "It's a battle, so battle!$"
Route119_Text_1F4D24: @ 81F4D24
Route119_Text_BrendanDefeat: @ 81F4D24
.string "Hmm…\n"
.string "You've gotten pretty darn decent.$"
Route119_Text_1F4D4B: @ 81F4D4B
Route119_Text_BrendanIllGiveYouThis: @ 81F4D4B
.string "BRENDAN: I'd say you're good enough\n"
.string "to search for POKéMON anywhere.\p"
.string "Here, I'll give you this.\n"
.string "Try it out.$"
Route119_Text_1F4DB5: @ 81F4DB5
Route119_Text_BrendanExplainFly: @ 81F4DB5
.string "BRENDAN: Use FLY, and your POKéMON\n"
.string "instantly carries you to any town\l"
.string "you've already visited.\p"
@@ -553,7 +553,7 @@ Route119_Text_1F4DB5: @ 81F4DB5
.string "to do that.\p"
.string "Anyway, I have to move along.$"
Route119_Text_1F4E60: @ 81F4E60
Route119_Text_ScottWayToGoBeSeeingYou: @ 81F4E60
.string "SCOTT: Hahahah!\n"
.string "Way to go, {PLAYER}{KUN}!\p"
.string "I just passed by a TRAINER riding\n"
@@ -568,7 +568,7 @@ Route119_Text_1F4E60: @ 81F4E60
.string "Well, I'll be seeing you!$"
Route119_Text_1F4FBA: @ 81F4FBA
Route119_Text_ScottYouWonAtFortreeGym: @ 81F4FBA
.string "… … … … … …\n"
.string "… … … … … Beep!\p"
.string "SCOTT: Hiya, {PLAYER}{KUN}, it's me!\p"
@@ -583,17 +583,17 @@ Route119_Text_1F4FBA: @ 81F4FBA
.string "… … … … … …\n"
.string "… … … … … Click!$"
Route119_Text_1F50EB: @ 81F50EB
Route119_Text_StayAwayFromWeatherInstitute: @ 81F50EB
.string "We're standing lookout here.\p"
.string "Hey, you! Stay away from the WEATHER\n"
.string "INSTITUTE. It's not safe.$"
Route119_Text_1F5147: @ 81F5147
Route119_Text_DontGoNearWeatherInstitute: @ 81F5147
.string "Lookout duty is surprisingly boring.\p"
.string "Hey, you! Please don't go near the\n"
.string "WEATHER INSTITUTE.$"
Route119_Text_1F51A2: @ 81F51A2
Route119_Text_ThoughtFlyByCatchingBirdMons: @ 81F51A2
.string "I thought you FLY by catching a whole\n"
.string "flock of BIRD POKéMON, and then\l"
.string "hanging on to them somehow.\p"
@@ -602,25 +602,25 @@ Route119_Text_1F51A2: @ 81F51A2
.string "I wish I'd known about that a long\n"
.string "time ago…$"
Route119_Text_1F5261: @ 81F5261
Route119_Text_TallGrassSnaresBikeTires: @ 81F5261
.string "Tch…\n"
.string "It's a no-go…\p"
.string "The tall grass snares BIKE tires.\n"
.string "There's no way you can cycle here.$"
Route119_Text_1F52B9: @ 81F52B9
Route119_Text_CanYourMonMakeSecretBase: @ 81F52B9
.string "Can your POKéMON use its SECRET POWER\n"
.string "on a big pile of grass and make a\l"
.string "SECRET BASE?$"
Route119_Text_1F530E: @ 81F530E
Route119_Text_RouteSignFortree: @ 81F530E
.string "ROUTE 119\n"
.string "{RIGHT_ARROW} FORTREE CITY$"
Route119_Text_1F5327: @ 81F5327
Route119_Text_WeatherInstitute: @ 81F5327
.string "WEATHER INSTITUTE$"
Route119_Text_1F5339: @ 81F5339
Route119_Text_TrainerTipsDecoration: @ 81F5339
.string "TRAINER TIPS\p"
.string "Up to sixteen decorations and\n"
.string "furniture items can be placed in\l"

View File

@@ -165,7 +165,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F57D7",
"script": "Route120_EventScript_Colin",
"flag": "0"
},
{
@@ -178,7 +178,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F57EE",
"script": "Route120_EventScript_Robert",
"flag": "0"
},
{
@@ -191,7 +191,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
"script": "Route120_EventScript_1F5850",
"script": "Route120_EventScript_Lorenzo",
"flag": "0"
},
{
@@ -204,7 +204,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route120_EventScript_1F5867",
"script": "Route120_EventScript_Jenna",
"flag": "0"
},
{
@@ -217,7 +217,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F587E",
"script": "Route120_EventScript_Jeffrey",
"flag": "0"
},
{
@@ -321,7 +321,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1F5527",
"script": "Route120_EventScript_BerryBeauty",
"flag": "0"
},
{
@@ -334,7 +334,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route120_EventScript_1F58E0",
"script": "Route120_EventScript_Jennifer",
"flag": "0"
},
{
@@ -347,7 +347,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route120_EventScript_1F58F7",
"script": "Route120_EventScript_Chip",
"flag": "0"
},
{
@@ -360,7 +360,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route120_EventScript_1F590E",
"script": "Route120_EventScript_Clarissa",
"flag": "0"
},
{
@@ -373,7 +373,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F5925",
"script": "Route120_EventScript_Angelica",
"flag": "0"
},
{
@@ -464,7 +464,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F593C",
"script": "Route120_EventScript_Keigo",
"flag": "0"
},
{
@@ -477,7 +477,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F5953",
"script": "Route120_EventScript_Riley",
"flag": "0"
},
{
@@ -568,7 +568,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F5981",
"script": "Route120_EventScript_Callie",
"flag": "0"
},
{
@@ -581,7 +581,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F596A",
"script": "Route120_EventScript_Leonel",
"flag": "0"
},
{
@@ -756,7 +756,7 @@
"y": 3,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route120_EventScript_1F57C5"
"script": "Route120_EventScript_RouteSignFortree"
},
{
"type": "sign",
@@ -764,7 +764,7 @@
"y": 88,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route120_EventScript_1F57CE"
"script": "Route120_EventScript_RouteSign121"
},
{
"type": "secret_base",

View File

@@ -39,137 +39,137 @@ Route120_EventScript_RemoveKecleon:: @ 81F5460
return
Route120_OnLoad: @ 81F5474
call_if_unset FLAG_REGI_DOORS_OPENED, Route120_EventScript_1F5490
call_if_set FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_1F54A3
call_if_unset FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_1F54C8
call_if_unset FLAG_REGI_DOORS_OPENED, Route120_EventScript_CloseAncientTomb
call_if_set FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_SetBridgeClearMetatiles
call_if_unset FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_SetBridgeKecleonMovement
end
Route120_EventScript_1F5490:: @ 81F5490
Route120_EventScript_CloseAncientTomb:: @ 81F5490
setmetatile 7, 54, METATILE_General_RockWall_RockBase, 1
setmetatile 7, 55, METATILE_General_RockWall_SandBase, 1
return
Route120_EventScript_1F54A3:: @ 81F54A3
setmetatile 13, 15, METATILE_Fortree_WoodBridge_Kecleon0, 0
setmetatile 12, 16, METATILE_Fortree_WoodBridge_Kecleon1, 0
Route120_EventScript_SetBridgeClearMetatiles:: @ 81F54A3
setmetatile 13, 15, METATILE_Fortree_WoodBridge1_Top, 0
setmetatile 12, 16, METATILE_Fortree_WoodBridge1_Bottom, 0
setmetatile 12, 17, METATILE_General_ReflectiveWater, 0
setmetatile 13, 17, METATILE_General_ReflectiveWater, 0
return
Route120_EventScript_1F54C8:: @ 81F54C8
Route120_EventScript_SetBridgeKecleonMovement:: @ 81F54C8
setobjectmovementtype 36, MOVEMENT_TYPE_FACE_RIGHT
return
Route120_OnTransition: @ 81F54CD
call GabbyAndTy_EventScript_UpdateLocation
call Route120_EventScript_1F54D8
call Route120_EventScript_SetWeather
end
Route120_EventScript_1F54D8:: @ 81F54D8
Route120_EventScript_SetWeather:: @ 81F54D8
getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_1, 14
goto_if_le Route120_EventScript_1F5503
goto_if_le Route120_EventScript_SetSunnyWeather
compare VAR_TEMP_1, 60
goto_if_le Route120_EventScript_1F5507
goto_if_le Route120_EventScript_TrySetRainyWeather
compare VAR_TEMP_1, 61
goto_if_ge Route120_EventScript_1F54FF
goto_if_ge Route120_EventScript_SetCloudyWeather
return
Route120_EventScript_1F54FF:: @ 81F54FF
Route120_EventScript_SetCloudyWeather:: @ 81F54FF
setweather WEATHER_CLOUDS
return
Route120_EventScript_1F5503:: @ 81F5503
Route120_EventScript_SetSunnyWeather:: @ 81F5503
setweather WEATHER_SUNNY
return
Route120_EventScript_1F5507:: @ 81F5507
Route120_EventScript_TrySetRainyWeather:: @ 81F5507
compare VAR_TEMP_0, 7
goto_if_le Route120_EventScript_1F5523
goto_if_le Route120_EventScript_SetRainyWeather
compare VAR_TEMP_0, 19
goto_if_le Route120_EventScript_1F5503
goto Route120_EventScript_1F5523
goto_if_le Route120_EventScript_SetSunnyWeather
goto Route120_EventScript_SetRainyWeather
end
Route120_EventScript_1F5523:: @ 81F5523
Route120_EventScript_SetRainyWeather:: @ 81F5523
setweather WEATHER_RAIN_LIGHT
return
Route120_EventScript_1F5527:: @ 81F5527
Route120_EventScript_BerryBeauty:: @ 81F5527
lock
faceplayer
dotimebasedevents
goto_if_set FLAG_DAILY_ROUTE_120_RECEIVED_BERRY, Route120_EventScript_1F5625
msgbox Route120_Text_2A70C7, MSGBOX_YESNO
goto_if_set FLAG_DAILY_ROUTE_120_RECEIVED_BERRY, Route120_EventScript_ReceivedBerry
msgbox Route120_Text_BerriesExpressionOfLoveIsntIt, MSGBOX_YESNO
compare VAR_RESULT, YES
call_if_eq Route120_EventScript_1F562F
call_if_eq Route120_EventScript_BerryLove
compare VAR_RESULT, NO
call_if_eq Route120_EventScript_1F5638
call_if_eq Route120_EventScript_BerryNotLove
specialvar VAR_RESULT, GetPlayerTrainerIdOnesDigit
switch VAR_RESULT
case 0, Route120_EventScript_1F55CA
case 5, Route120_EventScript_1F55CA
case 1, Route120_EventScript_1F55D5
case 6, Route120_EventScript_1F55D5
case 2, Route120_EventScript_1F55E0
case 7, Route120_EventScript_1F55E0
case 3, Route120_EventScript_1F55EB
case 8, Route120_EventScript_1F55EB
case 4, Route120_EventScript_1F55F6
case 9, Route120_EventScript_1F55F6
case 0, Route120_EventScript_GiveFigyBerry
case 5, Route120_EventScript_GiveFigyBerry
case 1, Route120_EventScript_GiveWikiBerry
case 6, Route120_EventScript_GiveWikiBerry
case 2, Route120_EventScript_GiveMagoBerry
case 7, Route120_EventScript_GiveMagoBerry
case 3, Route120_EventScript_GiveAguavBerry
case 8, Route120_EventScript_GiveAguavBerry
case 4, Route120_EventScript_GiveIapapaBerry
case 9, Route120_EventScript_GiveIapapaBerry
end
Route120_EventScript_1F55CA:: @ 81F55CA
Route120_EventScript_GiveFigyBerry:: @ 81F55CA
setvar VAR_0x8004, ITEM_FIGY_BERRY
goto Route120_EventScript_1F5601
goto Route120_EventScript_GiveBerry
end
Route120_EventScript_1F55D5:: @ 81F55D5
Route120_EventScript_GiveWikiBerry:: @ 81F55D5
setvar VAR_0x8004, ITEM_WIKI_BERRY
goto Route120_EventScript_1F5601
goto Route120_EventScript_GiveBerry
end
Route120_EventScript_1F55E0:: @ 81F55E0
Route120_EventScript_GiveMagoBerry:: @ 81F55E0
setvar VAR_0x8004, ITEM_MAGO_BERRY
goto Route120_EventScript_1F5601
goto Route120_EventScript_GiveBerry
end
Route120_EventScript_1F55EB:: @ 81F55EB
Route120_EventScript_GiveAguavBerry:: @ 81F55EB
setvar VAR_0x8004, ITEM_AGUAV_BERRY
goto Route120_EventScript_1F5601
goto Route120_EventScript_GiveBerry
end
Route120_EventScript_1F55F6:: @ 81F55F6
Route120_EventScript_GiveIapapaBerry:: @ 81F55F6
setvar VAR_0x8004, ITEM_IAPAPA_BERRY
goto Route120_EventScript_1F5601
goto Route120_EventScript_GiveBerry
end
Route120_EventScript_1F5601:: @ 81F5601
Route120_EventScript_GiveBerry:: @ 81F5601
giveitem_std VAR_0x8004
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_DAILY_ROUTE_120_RECEIVED_BERRY
msgbox Route120_Text_2A71D5, MSGBOX_DEFAULT
msgbox Route120_Text_BerryIsRareRaiseItWithCare, MSGBOX_DEFAULT
release
end
Route120_EventScript_1F5625:: @ 81F5625
msgbox Route120_Text_2A7217, MSGBOX_DEFAULT
Route120_EventScript_ReceivedBerry:: @ 81F5625
msgbox Route120_Text_IllGetMoreBerriesFromBerryMaster, MSGBOX_DEFAULT
release
end
Route120_EventScript_1F562F:: @ 81F562F
msgbox Route120_Text_2A7147, MSGBOX_DEFAULT
Route120_EventScript_BerryLove:: @ 81F562F
msgbox Route120_Text_YesYouUnderstand, MSGBOX_DEFAULT
return
Route120_EventScript_1F5638:: @ 81F5638
msgbox Route120_Text_2A7183, MSGBOX_DEFAULT
Route120_EventScript_BerryNotLove:: @ 81F5638
msgbox Route120_Text_MakeYourOwnImpressions, MSGBOX_DEFAULT
return
Route120_EventScript_Steven:: @ 81F5641
lock
faceplayer
goto_if_set FLAG_NOT_READY_FOR_BATTLE_ROUTE_120, Route120_EventScript_1F5672
goto_if_set FLAG_NOT_READY_FOR_BATTLE_ROUTE_120, Route120_EventScript_StevenAskReadyForBattle
msgbox Route120_Text_StevenGreeting, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Route120_EventScript_StevenNotReady
@@ -177,12 +177,12 @@ Route120_EventScript_Steven:: @ 81F5641
end
Route120_EventScript_StevenNotReady:: @ 81F5665
msgbox Route120_Text_1F5AAC, MSGBOX_DEFAULT
msgbox Route120_Text_StevenIllWaitHere, MSGBOX_DEFAULT
setflag FLAG_NOT_READY_FOR_BATTLE_ROUTE_120
release
end
Route120_EventScript_1F5672:: @ 81F5672
Route120_EventScript_StevenAskReadyForBattle:: @ 81F5672
msgbox Route120_Text_StevenReadyForBattle, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq Route120_EventScript_StevenNotReady
@@ -249,8 +249,8 @@ Route120_EventScript_StevenGiveDeconScope:: @ 81F572C
delay 15
removeobject 31
waitfieldeffect FLDEFF_NPCFLY_OUT
setmetatile 13, 15, METATILE_Fortree_WoodBridge_Kecleon0, 0
setmetatile 12, 16, METATILE_Fortree_WoodBridge_Kecleon1, 0
setmetatile 13, 15, METATILE_Fortree_WoodBridge1_Top, 0
setmetatile 12, 16, METATILE_Fortree_WoodBridge1_Bottom, 0
setmetatile 12, 17, METATILE_General_ReflectiveWater, 0
setmetatile 13, 17, METATILE_General_ReflectiveWater, 0
special DrawWholeMapView
@@ -276,111 +276,111 @@ Route120_EventScript_InvisibleBridgeKecleon:: @ 81F57BC
msgbox Kecleon_Text_SomethingUnseeable, MSGBOX_NPC
end
Route120_EventScript_1F57C5:: @ 81F57C5
msgbox Route120_Text_1F5DCB, MSGBOX_SIGN
Route120_EventScript_RouteSignFortree:: @ 81F57C5
msgbox Route120_Text_RouteSignFortree, MSGBOX_SIGN
end
Route120_EventScript_1F57CE:: @ 81F57CE
msgbox Route120_Text_1F5DE4, MSGBOX_SIGN
Route120_EventScript_RouteSign121:: @ 81F57CE
msgbox Route120_Text_RouteSign121, MSGBOX_SIGN
end
Route120_EventScript_1F57D7:: @ 81F57D7
trainerbattle_single TRAINER_COLIN, Route120_Text_29E62D, Route120_Text_29E665
msgbox Route120_Text_29E67A, MSGBOX_AUTOCLOSE
Route120_EventScript_Colin:: @ 81F57D7
trainerbattle_single TRAINER_COLIN, Route120_Text_ColinIntro, Route120_Text_ColinDefeat
msgbox Route120_Text_ColinPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F57EE:: @ 81F57EE
trainerbattle_single TRAINER_ROBERT_1, Route120_Text_29E6E3, Route120_Text_29E70A, Route120_EventScript_1F581A
Route120_EventScript_Robert:: @ 81F57EE
trainerbattle_single TRAINER_ROBERT_1, Route120_Text_RobertIntro, Route120_Text_RobertDefeat, Route120_EventScript_RegisterRobert
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route120_EventScript_1F5839
msgbox Route120_Text_29E726, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route120_EventScript_RematchRobert
msgbox Route120_Text_RobertPostBattle, MSGBOX_DEFAULT
release
end
Route120_EventScript_1F581A:: @ 81F581A
Route120_EventScript_RegisterRobert:: @ 81F581A
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route120_Text_29E75D, MSGBOX_DEFAULT
msgbox Route120_Text_RobertRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ROBERT_1
release
end
Route120_EventScript_1F5839:: @ 81F5839
trainerbattle_rematch TRAINER_ROBERT_1, Route120_Text_29E7AA, Route120_Text_29E7E1
msgbox Route120_Text_29E804, MSGBOX_AUTOCLOSE
Route120_EventScript_RematchRobert:: @ 81F5839
trainerbattle_rematch TRAINER_ROBERT_1, Route120_Text_RobertRematchIntro, Route120_Text_RobertRematchDefeat
msgbox Route120_Text_RobertPostRematch, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F5850:: @ 81F5850
trainerbattle_single TRAINER_LORENZO, Route120_Text_29E843, Route120_Text_29E884
msgbox Route120_Text_29E8C5, MSGBOX_AUTOCLOSE
Route120_EventScript_Lorenzo:: @ 81F5850
trainerbattle_single TRAINER_LORENZO, Route120_Text_LorenzoIntro, Route120_Text_LorenzoDefeat
msgbox Route120_Text_LorenzoPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F5867:: @ 81F5867
trainerbattle_single TRAINER_JENNA, Route120_Text_29E91C, Route120_Text_29E980
msgbox Route120_Text_29E996, MSGBOX_AUTOCLOSE
Route120_EventScript_Jenna:: @ 81F5867
trainerbattle_single TRAINER_JENNA, Route120_Text_JennaIntro, Route120_Text_JennaDefeat
msgbox Route120_Text_JennaPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F587E:: @ 81F587E
trainerbattle_single TRAINER_JEFFREY_1, Route120_Text_29E9D7, Route120_Text_29E9FF, Route120_EventScript_1F58AA
Route120_EventScript_Jeffrey:: @ 81F587E
trainerbattle_single TRAINER_JEFFREY_1, Route120_Text_JeffreyIntro, Route120_Text_JeffreyDefeat, Route120_EventScript_RegisterJeffrey
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route120_EventScript_1F58C9
msgbox Route120_Text_29EA08, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route120_EventScript_RematchJeffrey
msgbox Route120_Text_JeffreyPostBattle, MSGBOX_DEFAULT
release
end
Route120_EventScript_1F58AA:: @ 81F58AA
Route120_EventScript_RegisterJeffrey:: @ 81F58AA
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route120_Text_29EA31, MSGBOX_DEFAULT
msgbox Route120_Text_JeffreyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JEFFREY_1
release
end
Route120_EventScript_1F58C9:: @ 81F58C9
trainerbattle_rematch TRAINER_JEFFREY_1, Route120_Text_29EA61, Route120_Text_29EA8F
msgbox Route120_Text_29EAA9, MSGBOX_AUTOCLOSE
Route120_EventScript_RematchJeffrey:: @ 81F58C9
trainerbattle_rematch TRAINER_JEFFREY_1, Route120_Text_JeffreyRematchIntro, Route120_Text_JeffreyRematchDefeat
msgbox Route120_Text_JeffreyPostRematch, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F58E0:: @ 81F58E0
trainerbattle_single TRAINER_JENNIFER, Route120_Text_29EAEF, Route120_Text_29EB53
msgbox Route120_Text_29EB6E, MSGBOX_AUTOCLOSE
Route120_EventScript_Jennifer:: @ 81F58E0
trainerbattle_single TRAINER_JENNIFER, Route120_Text_JenniferIntro, Route120_Text_JenniferDefeat
msgbox Route120_Text_JenniferPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F58F7:: @ 81F58F7
trainerbattle_single TRAINER_CHIP, Route120_Text_29EBAF, Route120_Text_29EC25
msgbox Route120_Text_29EC41, MSGBOX_AUTOCLOSE
Route120_EventScript_Chip:: @ 81F58F7
trainerbattle_single TRAINER_CHIP, Route120_Text_ChipIntro, Route120_Text_ChipDefeat
msgbox Route120_Text_ChipPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F590E:: @ 81F590E
trainerbattle_single TRAINER_CLARISSA, Route120_Text_29ECA6, Route120_Text_29ECEF
msgbox Route120_Text_29ED19, MSGBOX_AUTOCLOSE
Route120_EventScript_Clarissa:: @ 81F590E
trainerbattle_single TRAINER_CLARISSA, Route120_Text_ClarissaIntro, Route120_Text_ClarissaDefeat
msgbox Route120_Text_ClarissaPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F5925:: @ 81F5925
trainerbattle_single TRAINER_ANGELICA, Route120_Text_29ED71, Route120_Text_29EDD3
msgbox Route120_Text_29EDF7, MSGBOX_AUTOCLOSE
Route120_EventScript_Angelica:: @ 81F5925
trainerbattle_single TRAINER_ANGELICA, Route120_Text_AngelicaIntro, Route120_Text_AngelicaDefeat
msgbox Route120_Text_AngelicaPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F593C:: @ 81F593C
trainerbattle_single TRAINER_KEIGO, Route120_Text_29EE50, Route120_Text_29EE97
msgbox Route120_Text_29EED4, MSGBOX_AUTOCLOSE
Route120_EventScript_Keigo:: @ 81F593C
trainerbattle_single TRAINER_KEIGO, Route120_Text_KeigoIntro, Route120_Text_KeigoDefeat
msgbox Route120_Text_KeigoPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F5953:: @ 81F5953
trainerbattle_single TRAINER_RILEY, Route120_Text_29EF08, Route120_Text_29EF63
msgbox Route120_Text_29EF89, MSGBOX_AUTOCLOSE
Route120_EventScript_Riley:: @ 81F5953
trainerbattle_single TRAINER_RILEY, Route120_Text_RileyIntro, Route120_Text_RileyDefeat
msgbox Route120_Text_RileyPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F596A:: @ 81F596A
trainerbattle_single TRAINER_LEONEL, Route120_Text_29F04F, Route120_Text_29F080
msgbox Route120_Text_29F0A1, MSGBOX_AUTOCLOSE
Route120_EventScript_Leonel:: @ 81F596A
trainerbattle_single TRAINER_LEONEL, Route120_Text_LeonelIntro, Route120_Text_LeonelDefeat
msgbox Route120_Text_LeonelPostBattle, MSGBOX_AUTOCLOSE
end
Route120_EventScript_1F5981:: @ 81F5981
trainerbattle_single TRAINER_CALLIE, Route120_Text_29EFB1, Route120_Text_29EFE1
msgbox Route120_Text_29F002, MSGBOX_AUTOCLOSE
Route120_EventScript_Callie:: @ 81F5981
trainerbattle_single TRAINER_CALLIE, Route120_Text_CallieIntro, Route120_Text_CallieDefeat
msgbox Route120_Text_CalliePostBattle, MSGBOX_AUTOCLOSE
end
Route120_Text_StevenGreeting: @ 81F5998
@@ -396,7 +396,7 @@ Route120_Text_StevenGreeting: @ 81F5998
.string "{PLAYER}{KUN}, are your POKéMON ready for\n"
.string "battle?$"
Route120_Text_1F5AAC: @ 81F5AAC
Route120_Text_StevenIllWaitHere: @ 81F5AAC
.string "STEVEN: No?\p"
.string "I'll wait here, so you can get ready.$"
@@ -444,10 +444,10 @@ Kecleon_Text_UseDevonScopeMonAttacked: @ 81F5D63
.string "visible!\p"
.string "The startled POKéMON attacked!$"
Route120_Text_1F5DCB: @ 81F5DCB
Route120_Text_RouteSignFortree: @ 81F5DCB
.string "ROUTE 120\n"
.string "{LEFT_ARROW} FORTREE CITY$"
Route120_Text_1F5DE4: @ 81F5DE4
Route120_Text_RouteSign121: @ 81F5DE4
.string "{RIGHT_ARROW} ROUTE 121\n"
.string "{LEFT_ARROW} ROUTE 120$"

View File

@@ -40,7 +40,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_1F5DFD",
"script": "Route121_EventScript_Woman",
"flag": "0"
},
{
@@ -157,7 +157,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route121_EventScript_1F5F04",
"script": "Route121_EventScript_Kate",
"flag": "0"
},
{
@@ -170,7 +170,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route121_EventScript_1F5F1F",
"script": "Route121_EventScript_Joy",
"flag": "0"
},
{
@@ -248,7 +248,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5E74",
"script": "Route121_EventScript_Vanessa",
"flag": "0"
},
{
@@ -261,7 +261,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route121_EventScript_1F5E8B",
"script": "Route121_EventScript_Walter",
"flag": "0"
},
{
@@ -274,7 +274,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5EED",
"script": "Route121_EventScript_Tammy",
"flag": "0"
},
{
@@ -287,7 +287,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5F3A",
"script": "Route121_EventScript_Jessica",
"flag": "0"
},
{
@@ -326,7 +326,7 @@
"movement_range_y": 4,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route121_EventScript_1F5F9C",
"script": "Route121_EventScript_Cale",
"flag": "0"
},
{
@@ -339,7 +339,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5FB3",
"script": "Route121_EventScript_Myles",
"flag": "0"
},
{
@@ -352,7 +352,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5FCA",
"script": "Route121_EventScript_Pat",
"flag": "0"
},
{
@@ -365,7 +365,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
"script": "Route121_EventScript_1F5FE1",
"script": "Route121_EventScript_Marcel",
"flag": "0"
},
{
@@ -378,7 +378,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6",
"script": "Route121_EventScript_1F5FF8",
"script": "Route121_EventScript_Cristin",
"flag": "0"
},
{
@@ -425,7 +425,7 @@
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
"script": "Route121_EventScript_1F5E18"
"script": "Route121_EventScript_AquaGruntsMoveOut"
},
{
"type": "trigger",
@@ -434,7 +434,7 @@
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
"script": "Route121_EventScript_1F5E18"
"script": "Route121_EventScript_AquaGruntsMoveOut"
},
{
"type": "trigger",
@@ -443,7 +443,7 @@
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
"script": "Route121_EventScript_1F5E18"
"script": "Route121_EventScript_AquaGruntsMoveOut"
},
{
"type": "trigger",
@@ -452,7 +452,7 @@
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
"script": "Route121_EventScript_1F5E18"
"script": "Route121_EventScript_AquaGruntsMoveOut"
}
],
"bg_events": [
@@ -462,7 +462,7 @@
"y": 14,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route121_EventScript_1F5E06"
"script": "Route121_EventScript_MtPyrePierSign"
},
{
"type": "secret_base",
@@ -498,7 +498,7 @@
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route121_EventScript_1F5E0F"
"script": "Route121_EventScript_SafariZoneSign"
},
{
"type": "hidden_item",

View File

@@ -1,28 +1,28 @@
Route121_MapScripts:: @ 81F5DFC
.byte 0
Route121_EventScript_1F5DFD:: @ 81F5DFD
msgbox Route121_Text_1F607F, MSGBOX_NPC
Route121_EventScript_Woman:: @ 81F5DFD
msgbox Route121_Text_AheadLoomsMtPyre, MSGBOX_NPC
end
Route121_EventScript_1F5E06:: @ 81F5E06
msgbox Route121_Text_1F60D3, MSGBOX_SIGN
Route121_EventScript_MtPyrePierSign:: @ 81F5E06
msgbox Route121_Text_MtPyrePierSign, MSGBOX_SIGN
end
Route121_EventScript_1F5E0F:: @ 81F5E0F
msgbox Route121_Text_1F611E, MSGBOX_SIGN
Route121_EventScript_SafariZoneSign:: @ 81F5E0F
msgbox Route121_Text_SafariZoneSign, MSGBOX_SIGN
end
Route121_EventScript_1F5E18:: @ 81F5E18
Route121_EventScript_AquaGruntsMoveOut:: @ 81F5E18
lockall
playbgm MUS_AQA_0, 0
applymovement 13, Common_Movement_WalkInPlaceRight
waitmovement 0
msgbox Route121_Text_1F605A, MSGBOX_DEFAULT
msgbox Route121_Text_OkayMoveOutToMtPyre, MSGBOX_DEFAULT
closemessage
applymovement 12, Route121_Movement_1F5E59
applymovement 13, Route121_Movement_1F5E62
applymovement 14, Route121_Movement_1F5E6B
applymovement 12, Route121_Movement_Grunt1Exit
applymovement 13, Route121_Movement_Grunt2Exit
applymovement 14, Route121_Movement_Grunt3Exit
waitmovement 0
fadedefaultbgm
removeobject 12
@@ -32,7 +32,7 @@ Route121_EventScript_1F5E18:: @ 81F5E18
releaseall
end
Route121_Movement_1F5E59: @ 81F5E59
Route121_Movement_Grunt1Exit: @ 81F5E59
walk_down
walk_down
walk_down
@@ -43,7 +43,7 @@ Route121_Movement_1F5E59: @ 81F5E59
walk_down
step_end
Route121_Movement_1F5E62: @ 81F5E62
Route121_Movement_Grunt2Exit: @ 81F5E62
walk_down
walk_down
walk_down
@@ -54,7 +54,7 @@ Route121_Movement_1F5E62: @ 81F5E62
walk_down
step_end
Route121_Movement_1F5E6B: @ 81F5E6B
Route121_Movement_Grunt3Exit: @ 81F5E6B
walk_down
walk_down
walk_down
@@ -65,127 +65,127 @@ Route121_Movement_1F5E6B: @ 81F5E6B
walk_down
step_end
Route121_EventScript_1F5E74:: @ 81F5E74
trainerbattle_single TRAINER_VANESSA, Route121_Text_29F0EC, Route121_Text_29F11F
msgbox Route121_Text_29F138, MSGBOX_AUTOCLOSE
Route121_EventScript_Vanessa:: @ 81F5E74
trainerbattle_single TRAINER_VANESSA, Route121_Text_VanessaIntro, Route121_Text_VanessaDefeat
msgbox Route121_Text_VanessaPostBattle, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5E8B:: @ 81F5E8B
trainerbattle_single TRAINER_WALTER_1, Route121_Text_29F199, Route121_Text_29F20D, Route121_EventScript_1F5EB7
Route121_EventScript_Walter:: @ 81F5E8B
trainerbattle_single TRAINER_WALTER_1, Route121_Text_WalterIntro, Route121_Text_WalterDefeat, Route121_EventScript_RegisterWalter
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route121_EventScript_1F5ED6
msgbox Route121_Text_29F21E, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route121_EventScript_RematchWalter
msgbox Route121_Text_WalterPostBattle, MSGBOX_DEFAULT
release
end
Route121_EventScript_1F5EB7:: @ 81F5EB7
Route121_EventScript_RegisterWalter:: @ 81F5EB7
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route121_Text_29F25B, MSGBOX_DEFAULT
msgbox Route121_Text_WalterRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_WALTER_1
release
end
Route121_EventScript_1F5ED6:: @ 81F5ED6
trainerbattle_rematch TRAINER_WALTER_1, Route121_Text_29F2A6, Route121_Text_29F31A
msgbox Route121_Text_29F32B, MSGBOX_AUTOCLOSE
Route121_EventScript_RematchWalter:: @ 81F5ED6
trainerbattle_rematch TRAINER_WALTER_1, Route121_Text_WalterRematchIntro, Route121_Text_WalterRematchDefeat
msgbox Route121_Text_WalterPostRematch, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5EED:: @ 81F5EED
trainerbattle_single TRAINER_TAMMY, Route121_Text_29F381, Route121_Text_29F3B9
msgbox Route121_Text_29F3C6, MSGBOX_AUTOCLOSE
Route121_EventScript_Tammy:: @ 81F5EED
trainerbattle_single TRAINER_TAMMY, Route121_Text_TammyIntro, Route121_Text_TammyDefeat
msgbox Route121_Text_TammyPostBattle, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5F04:: @ 81F5F04
trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_29F3FB, Route121_Text_29F43F, Route121_Text_29F4C9
msgbox Route121_Text_29F476, MSGBOX_AUTOCLOSE
Route121_EventScript_Kate:: @ 81F5F04
trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_KateIntro, Route121_Text_KateDefeat, Route121_Text_KateNotEnoughMons
msgbox Route121_Text_KatePostBattle, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5F1F:: @ 81F5F1F
trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_29F521, Route121_Text_29F564, Route121_Text_29F5CE
msgbox Route121_Text_29F582, MSGBOX_AUTOCLOSE
Route121_EventScript_Joy:: @ 81F5F1F
trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_JoyIntro, Route121_Text_JoyDefeat, Route121_Text_JoyNotEnoughMons
msgbox Route121_Text_JoyPostBattle, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5F3A:: @ 81F5F3A
trainerbattle_single TRAINER_JESSICA_1, Route121_Text_29F612, Route121_Text_29F641, Route121_EventScript_1F5F66
Route121_EventScript_Jessica:: @ 81F5F3A
trainerbattle_single TRAINER_JESSICA_1, Route121_Text_JessicaIntro, Route121_Text_JessicaDefeat, Route121_EventScript_RegisterJessica
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route121_EventScript_1F5F85
msgbox Route121_Text_29F66F, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route121_EventScript_RematchJessica
msgbox Route121_Text_JessicaPostBattle, MSGBOX_DEFAULT
release
end
Route121_EventScript_1F5F66:: @ 81F5F66
Route121_EventScript_RegisterJessica:: @ 81F5F66
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route121_Text_29F69F, MSGBOX_DEFAULT
msgbox Route121_Text_JessicaRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JESSICA_1
release
end
Route121_EventScript_1F5F85:: @ 81F5F85
trainerbattle_rematch TRAINER_JESSICA_1, Route121_Text_29F6E4, Route121_Text_29F710
msgbox Route121_Text_29F740, MSGBOX_AUTOCLOSE
Route121_EventScript_RematchJessica:: @ 81F5F85
trainerbattle_rematch TRAINER_JESSICA_1, Route121_Text_JessicaRematchIntro, Route121_Text_JessicaRematchDefeat
msgbox Route121_Text_JessicaPostRematch, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5F9C:: @ 81F5F9C
trainerbattle_single TRAINER_CALE, Route121_Text_29F91A, Route121_Text_29F97B
msgbox Route121_Text_29F9AE, MSGBOX_AUTOCLOSE
Route121_EventScript_Cale:: @ 81F5F9C
trainerbattle_single TRAINER_CALE, Route121_Text_CaleIntro, Route121_Text_CaleDefeat
msgbox Route121_Text_CalePostBattle, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5FB3:: @ 81F5FB3
trainerbattle_single TRAINER_MYLES, Route121_Text_29FA1E, Route121_Text_29FA64
msgbox Route121_Text_29FA73, MSGBOX_AUTOCLOSE
Route121_EventScript_Myles:: @ 81F5FB3
trainerbattle_single TRAINER_MYLES, Route121_Text_MylesIntro, Route121_Text_MylesDefeat
msgbox Route121_Text_MylesPostBattle, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5FCA:: @ 81F5FCA
trainerbattle_single TRAINER_PAT, Route121_Text_29FAA7, Route121_Text_29FAD8
msgbox Route121_Text_29FAEA, MSGBOX_AUTOCLOSE
Route121_EventScript_Pat:: @ 81F5FCA
trainerbattle_single TRAINER_PAT, Route121_Text_PatIntro, Route121_Text_PatDefeat
msgbox Route121_Text_PatPostBattle, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5FE1:: @ 81F5FE1
trainerbattle_single TRAINER_MARCEL, Route121_Text_29FB35, Route121_Text_29FB8C
msgbox Route121_Text_29FBA8, MSGBOX_AUTOCLOSE
Route121_EventScript_Marcel:: @ 81F5FE1
trainerbattle_single TRAINER_MARCEL, Route121_Text_MarcelIntro, Route121_Text_MarcelDefeat
msgbox Route121_Text_MarcelPostBattle, MSGBOX_AUTOCLOSE
end
Route121_EventScript_1F5FF8:: @ 81F5FF8
trainerbattle_single TRAINER_CRISTIN_1, Route121_Text_29F770, Route121_Text_29F7C1, Route121_EventScript_1F6024
Route121_EventScript_Cristin:: @ 81F5FF8
trainerbattle_single TRAINER_CRISTIN_1, Route121_Text_CristinIntro, Route121_Text_CristinDefeat, Route121_EventScript_RegisterCristin
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route121_EventScript_1F6043
msgbox Route121_Text_29F7D4, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route121_EventScript_RematchCristin
msgbox Route121_Text_CristinPostBattle, MSGBOX_DEFAULT
release
end
Route121_EventScript_1F6024:: @ 81F6024
Route121_EventScript_RegisterCristin:: @ 81F6024
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route121_Text_29F80D, MSGBOX_DEFAULT
msgbox Route121_Text_CristinRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CRISTIN_1
release
end
Route121_EventScript_1F6043:: @ 81F6043
trainerbattle_rematch TRAINER_CRISTIN_1, Route121_Text_29F855, Route121_Text_29F8A8
msgbox Route121_Text_29F8D0, MSGBOX_AUTOCLOSE
Route121_EventScript_RematchCristin:: @ 81F6043
trainerbattle_rematch TRAINER_CRISTIN_1, Route121_Text_CristinRematchIntro, Route121_Text_CristinRematchDefeat
msgbox Route121_Text_CristinPostRematch, MSGBOX_AUTOCLOSE
end
Route121_Text_1F605A: @ 81F605A
Route121_Text_OkayMoveOutToMtPyre: @ 81F605A
.string "Okay!\n"
.string "We're to move out to MT. PYRE!$"
Route121_Text_1F607F: @ 81F607F
Route121_Text_AheadLoomsMtPyre: @ 81F607F
.string "Ahead looms MT. PYRE…\p"
.string "It is a natural monument to the spirits \n"
.string "of departed POKéMON…$"
Route121_Text_1F60D3: @ 81F60D3
Route121_Text_MtPyrePierSign: @ 81F60D3
.string "MT. PYRE PIER\p"
.string "…The sign is old and worn out.\n"
.string "The words are barely legible…$"
Route121_Text_1F611E: @ 81F611E
Route121_Text_SafariZoneSign: @ 81F611E
.string "“Filled with rare POKéMON!”\n"
.string "SAFARI ZONE$"

View File

@@ -126,7 +126,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F61C5",
"script": "Route123_EventScript_Wendy",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F61DC",
"script": "Route123_EventScript_Braxton",
"flag": "0"
},
{
@@ -308,7 +308,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route123_EventScript_1F6151",
"script": "Route123_EventScript_GigaDrainGirl",
"flag": "0"
},
{
@@ -360,7 +360,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F61F3",
"script": "Route123_EventScript_Violet",
"flag": "0"
},
{
@@ -373,7 +373,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F62E9",
"script": "Route123_EventScript_Yuki",
"flag": "0"
},
{
@@ -386,7 +386,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F62CE",
"script": "Route123_EventScript_Miu",
"flag": "0"
},
{
@@ -399,7 +399,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7",
"script": "Route123_EventScript_1F620A",
"script": "Route123_EventScript_Cameron",
"flag": "0"
},
{
@@ -412,7 +412,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F626C",
"script": "Route123_EventScript_Jacki",
"flag": "0"
},
{
@@ -425,7 +425,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route123_EventScript_1F6304",
"script": "Route123_EventScript_Kindra",
"flag": "0"
},
{
@@ -464,7 +464,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F6377",
"script": "Route123_EventScript_Jonas",
"flag": "0"
},
{
@@ -477,7 +477,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F6360",
"script": "Route123_EventScript_Kayley",
"flag": "0"
},
{
@@ -490,7 +490,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route123_EventScript_1F6349",
"script": "Route123_EventScript_Ed",
"flag": "0"
},
{
@@ -503,7 +503,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F63BC",
"script": "Route123_EventScript_Fernando",
"flag": "0"
},
{
@@ -516,7 +516,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F6332",
"script": "Route123_EventScript_Alberto",
"flag": "0"
},
{
@@ -529,7 +529,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F631B",
"script": "Route123_EventScript_Frederick",
"flag": "0"
},
{
@@ -555,7 +555,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route123_EventScript_1F638E",
"script": "Route123_EventScript_Jazmyn",
"flag": "0"
},
{
@@ -568,7 +568,7 @@
"movement_range_y": 3,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route123_EventScript_1F63A5",
"script": "Route123_EventScript_Davis",
"flag": "0"
},
{
@@ -757,7 +757,7 @@
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route123_EventScript_1F61B3"
"script": "Route123_EventScript_RouteSignMtPyre"
},
{
"type": "secret_base",
@@ -779,7 +779,7 @@
"y": 12,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route123_EventScript_1F61AA"
"script": "Route123_EventScript_RouteSign"
},
{
"type": "hidden_item",
@@ -795,7 +795,7 @@
"y": 7,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route123_EventScript_1F61BC"
"script": "Route123_EventScript_BerryMastersHouseSign"
},
{
"type": "secret_base",

View File

@@ -6,198 +6,198 @@ Route123_OnTransition: @ 81F614D
special SetRoute123Weather
end
Route123_EventScript_1F6151:: @ 81F6151
Route123_EventScript_GigaDrainGirl:: @ 81F6151
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM19, Route123_EventScript_1F61A0
msgbox Route123_Text_1F641E, MSGBOX_DEFAULT
goto_if_set FLAG_RECEIVED_TM19, Route123_EventScript_ReceivedGigaDrain
msgbox Route123_Text_LoveGrassMonsHaveAny, MSGBOX_DEFAULT
special IsGrassTypeInParty
compare VAR_RESULT, 0
goto_if_eq Route123_EventScript_1F619E
msgbox Route123_Text_1F645D, MSGBOX_DEFAULT
compare VAR_RESULT, FALSE
goto_if_eq Route123_EventScript_NoGrassMons
msgbox Route123_Text_YouLikeGrassMonsTooHaveThis, MSGBOX_DEFAULT
giveitem_std ITEM_TM19
compare VAR_RESULT, 0
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM19
msgbox Route123_Text_1F64CF, MSGBOX_DEFAULT
msgbox Route123_Text_CheckTreesWithMyGrassMon, MSGBOX_DEFAULT
release
end
Route123_EventScript_1F619E:: @ 81F619E
Route123_EventScript_NoGrassMons:: @ 81F619E
release
end
Route123_EventScript_1F61A0:: @ 81F61A0
msgbox Route123_Text_1F64CF, MSGBOX_DEFAULT
Route123_EventScript_ReceivedGigaDrain:: @ 81F61A0
msgbox Route123_Text_CheckTreesWithMyGrassMon, MSGBOX_DEFAULT
release
end
Route123_EventScript_1F61AA:: @ 81F61AA
msgbox Route123_Text_1F6511, MSGBOX_SIGN
Route123_EventScript_RouteSign:: @ 81F61AA
msgbox Route123_Text_RouteSign, MSGBOX_SIGN
end
Route123_EventScript_1F61B3:: @ 81F61B3
msgbox Route123_Text_1F6529, MSGBOX_SIGN
Route123_EventScript_RouteSignMtPyre:: @ 81F61B3
msgbox Route123_Text_RouteSignMtPyre, MSGBOX_SIGN
end
Route123_EventScript_1F61BC:: @ 81F61BC
msgbox Route123_Text_1F6557, MSGBOX_SIGN
Route123_EventScript_BerryMastersHouseSign:: @ 81F61BC
msgbox Route123_Text_BerryMastersHouse, MSGBOX_SIGN
end
Route123_EventScript_1F61C5:: @ 81F61C5
trainerbattle_single TRAINER_WENDY, Route123_Text_29FBEB, Route123_Text_29FC23
msgbox Route123_Text_29FC42, MSGBOX_AUTOCLOSE
Route123_EventScript_Wendy:: @ 81F61C5
trainerbattle_single TRAINER_WENDY, Route123_Text_WendyIntro, Route123_Text_WendyDefeat
msgbox Route123_Text_WendyPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F61DC:: @ 81F61DC
trainerbattle_single TRAINER_BRAXTON, Route123_Text_29FC6F, Route123_Text_29FCD6
msgbox Route123_Text_29FCF4, MSGBOX_AUTOCLOSE
Route123_EventScript_Braxton:: @ 81F61DC
trainerbattle_single TRAINER_BRAXTON, Route123_Text_BraxtonIntro, Route123_Text_BraxtonDefeat
msgbox Route123_Text_BraxtonPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F61F3:: @ 81F61F3
trainerbattle_single TRAINER_VIOLET, Route123_Text_29FD1D, Route123_Text_29FD53
msgbox Route123_Text_29FD7B, MSGBOX_AUTOCLOSE
Route123_EventScript_Violet:: @ 81F61F3
trainerbattle_single TRAINER_VIOLET, Route123_Text_VioletIntro, Route123_Text_VioletDefeat
msgbox Route123_Text_VioletPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F620A:: @ 81F620A
trainerbattle_single TRAINER_CAMERON_1, Route123_Text_29FDBA, Route123_Text_29FE1E, Route123_EventScript_1F6236
Route123_EventScript_Cameron:: @ 81F620A
trainerbattle_single TRAINER_CAMERON_1, Route123_Text_CameronIntro, Route123_Text_CameronDefeat, Route123_EventScript_RegisterCameron
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route123_EventScript_1F6255
msgbox Route123_Text_29FE2A, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route123_EventScript_RematchCameron
msgbox Route123_Text_CameronPostBattle, MSGBOX_DEFAULT
release
end
Route123_EventScript_1F6236:: @ 81F6236
Route123_EventScript_RegisterCameron:: @ 81F6236
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route123_Text_29FE70, MSGBOX_DEFAULT
msgbox Route123_Text_CameronRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CAMERON_1
release
end
Route123_EventScript_1F6255:: @ 81F6255
trainerbattle_rematch TRAINER_CAMERON_1, Route123_Text_29FED4, Route123_Text_29FF1B
msgbox Route123_Text_29FF27, MSGBOX_AUTOCLOSE
Route123_EventScript_RematchCameron:: @ 81F6255
trainerbattle_rematch TRAINER_CAMERON_1, Route123_Text_CameronRematchIntro, Route123_Text_CameronRematchDefeat
msgbox Route123_Text_CameronPostRematch, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F626C:: @ 81F626C
trainerbattle_single TRAINER_JACKI_1, Route123_Text_29FF61, Route123_Text_29FFD8, Route123_EventScript_1F6298
Route123_EventScript_Jacki:: @ 81F626C
trainerbattle_single TRAINER_JACKI_1, Route123_Text_JackiIntro, Route123_Text_JackiDefeat, Route123_EventScript_RegisterJacki
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route123_EventScript_1F62B7
msgbox Route123_Text_29FFE5, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route123_EventScript_RematchJacki
msgbox Route123_Text_JackiPostBattle, MSGBOX_DEFAULT
release
end
Route123_EventScript_1F6298:: @ 81F6298
Route123_EventScript_RegisterJacki:: @ 81F6298
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route123_Text_2A0027, MSGBOX_DEFAULT
msgbox Route123_Text_JackiRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JACKI_1
release
end
Route123_EventScript_1F62B7:: @ 81F62B7
trainerbattle_rematch TRAINER_JACKI_1, Route123_Text_2A005E, Route123_Text_2A008D
msgbox Route123_Text_2A0099, MSGBOX_AUTOCLOSE
Route123_EventScript_RematchJacki:: @ 81F62B7
trainerbattle_rematch TRAINER_JACKI_1, Route123_Text_JackiRematchIntro, Route123_Text_JackiRematchDefeat
msgbox Route123_Text_JackiPostRematch, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F62CE:: @ 81F62CE
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_2A00D6, Route123_Text_2A0119, Route123_Text_2A016D
msgbox Route123_Text_2A012E, MSGBOX_AUTOCLOSE
Route123_EventScript_Miu:: @ 81F62CE
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_MiuIntro, Route123_Text_MiuDefeat, Route123_Text_MiuNotEnoughMons
msgbox Route123_Text_MiuPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F62E9:: @ 81F62E9
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_2A01A7, Route123_Text_2A01D8, Route123_Text_2A0224
msgbox Route123_Text_2A01EE, MSGBOX_AUTOCLOSE
Route123_EventScript_Yuki:: @ 81F62E9
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_YukiIntro, Route123_Text_YukiDefeat, Route123_Text_YukiNotEnoughMons
msgbox Route123_Text_YukiPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F6304:: @ 81F6304
trainerbattle_single TRAINER_KINDRA, Route123_Text_2A025F, Route123_Text_2A02A6
msgbox Route123_Text_2A02C1, MSGBOX_AUTOCLOSE
Route123_EventScript_Kindra:: @ 81F6304
trainerbattle_single TRAINER_KINDRA, Route123_Text_KindraIntro, Route123_Text_KindraDefeat
msgbox Route123_Text_KindraPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F631B:: @ 81F631B
trainerbattle_single TRAINER_FREDRICK, Route123_Text_2A060A, Route123_Text_2A0631
msgbox Route123_Text_2A0672, MSGBOX_AUTOCLOSE
Route123_EventScript_Frederick:: @ 81F631B
trainerbattle_single TRAINER_FREDRICK, Route123_Text_FrederickIntro, Route123_Text_FrederickDefeat
msgbox Route123_Text_FrederickPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F6332:: @ 81F6332
trainerbattle_single TRAINER_ALBERTO, Route123_Text_2A06AF, Route123_Text_2A0704
msgbox Route123_Text_2A072B, MSGBOX_AUTOCLOSE
Route123_EventScript_Alberto:: @ 81F6332
trainerbattle_single TRAINER_ALBERTO, Route123_Text_AlbertoIntro, Route123_Text_AlbertoDefeat
msgbox Route123_Text_AlbertoPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F6349:: @ 81F6349
trainerbattle_single TRAINER_ED, Route123_Text_2A079B, Route123_Text_2A07F0
msgbox Route123_Text_2A080D, MSGBOX_AUTOCLOSE
Route123_EventScript_Ed:: @ 81F6349
trainerbattle_single TRAINER_ED, Route123_Text_EdIntro, Route123_Text_EdDefeat
msgbox Route123_Text_EdPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F6360:: @ 81F6360
trainerbattle_single TRAINER_KAYLEY, Route123_Text_2A0902, Route123_Text_2A0943
msgbox Route123_Text_2A096E, MSGBOX_AUTOCLOSE
Route123_EventScript_Kayley:: @ 81F6360
trainerbattle_single TRAINER_KAYLEY, Route123_Text_KayleyIntro, Route123_Text_KayleyDefeat
msgbox Route123_Text_KayleyPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F6377:: @ 81F6377
trainerbattle_single TRAINER_JONAS, Route123_Text_2A0854, Route123_Text_2A088A
msgbox Route123_Text_2A08CA, MSGBOX_AUTOCLOSE
Route123_EventScript_Jonas:: @ 81F6377
trainerbattle_single TRAINER_JONAS, Route123_Text_JonasIntro, Route123_Text_JonasDefeat
msgbox Route123_Text_JonasPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F638E:: @ 81F638E
trainerbattle_single TRAINER_JAZMYN, Route123_Text_2A054E, Route123_Text_2A0592
msgbox Route123_Text_2A05AC, MSGBOX_AUTOCLOSE
Route123_EventScript_Jazmyn:: @ 81F638E
trainerbattle_single TRAINER_JAZMYN, Route123_Text_JazmynIntro, Route123_Text_JazmynDefeat
msgbox Route123_Text_JazmynPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F63A5:: @ 81F63A5
trainerbattle_single TRAINER_DAVIS, Route123_Text_2A04C0, Route123_Text_2A04FE
msgbox Route123_Text_2A0512, MSGBOX_AUTOCLOSE
Route123_EventScript_Davis:: @ 81F63A5
trainerbattle_single TRAINER_DAVIS, Route123_Text_DavisIntro, Route123_Text_DavisDefeat
msgbox Route123_Text_DavisPostBattle, MSGBOX_AUTOCLOSE
end
Route123_EventScript_1F63BC:: @ 81F63BC
trainerbattle_single TRAINER_FERNANDO_1, Route123_Text_2A0323, Route123_Text_2A035C, Route123_EventScript_1F63E8
Route123_EventScript_Fernando:: @ 81F63BC
trainerbattle_single TRAINER_FERNANDO_1, Route123_Text_FernandoIntro, Route123_Text_FernandoDefeat, Route123_EventScript_RegisterFernando
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route123_EventScript_1F6407
msgbox Route123_Text_2A0389, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route123_EventScript_RematchFernando
msgbox Route123_Text_FernandoPostBattle, MSGBOX_DEFAULT
release
end
Route123_EventScript_1F63E8:: @ 81F63E8
Route123_EventScript_RegisterFernando:: @ 81F63E8
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route123_Text_2A03C1, MSGBOX_DEFAULT
msgbox Route123_Text_FernandoRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_FERNANDO_1
release
end
Route123_EventScript_1F6407:: @ 81F6407
trainerbattle_rematch TRAINER_FERNANDO_1, Route123_Text_2A03FB, Route123_Text_2A045A
msgbox Route123_Text_2A0487, MSGBOX_AUTOCLOSE
Route123_EventScript_RematchFernando:: @ 81F6407
trainerbattle_rematch TRAINER_FERNANDO_1, Route123_Text_FernandoRematchIntro, Route123_Text_FernandoRematchDefeat
msgbox Route123_Text_FernandoPostRematch, MSGBOX_AUTOCLOSE
end
Route123_Text_1F641E: @ 81F641E
Route123_Text_LoveGrassMonsHaveAny: @ 81F641E
.string "I love GRASS-type POKéMON!\p"
.string "Do you have any GRASS-type POKéMON?$"
Route123_Text_1F645D: @ 81F645D
Route123_Text_YouLikeGrassMonsTooHaveThis: @ 81F645D
.string "Oh?\p"
.string "You like GRASS-type POKéMON, too,\n"
.string "don't you?\p"
.string "I'm so happy, you can have this!\n"
.string "It's a token of our friendship.$"
Route123_Text_1F64CF: @ 81F64CF
Route123_Text_CheckTreesWithMyGrassMon: @ 81F64CF
.string "I check trees with my GRASS-type\n"
.string "POKéMON. I'm like a tree doctor.$"
Route123_Text_1F6511: @ 81F6511
Route123_Text_RouteSign: @ 81F6511
.string "{RIGHT_ARROW} ROUTE 123\n"
.string "{LEFT_ARROW} ROUTE 118$"
Route123_Text_1F6529: @ 81F6529
Route123_Text_RouteSignMtPyre: @ 81F6529
.string "{UP_ARROW} MT. PYRE\n"
.string "“Forbidden to the faint of heart.”$"
Route123_Text_1F6557: @ 81F6557
Route123_Text_BerryMastersHouse: @ 81F6557
.string "BERRY MASTER'S HOUSE$"

View File

@@ -3,14 +3,14 @@ PetalburgCity_Gym_Text_GiveEnigmaBerry: @ 82A6D3D
.string "I just received a very rare BERRY.\n"
.string "I'd like you to have it.$"
Route104_Text_2A6D86: @ 82A6D86
Route104_Text_PlantBerriesInSoilTakeThis: @ 82A6D86
.string "If you see BERRIES growing in loamy\n"
.string "soil, feel free to take them.\p"
.string "But make sure you plant a BERRY in the\n"
.string "same spot. That's common courtesy.\p"
.string "Here, I'll share this with you.$"
Route104_Text_2A6E32: @ 82A6E32
Route104_Text_TrainersOftenMakeMonHoldBerries: @ 82A6E32
.string "The way you look, you must be a\n"
.string "TRAINER, no?\p"
.string "TRAINERS often make POKéMON hold\n"
@@ -48,27 +48,27 @@ Route114_Text_FunToThinkAboutBerries: @ 82A706E
.string "Should you use or hoard BERRIES?\p"
.string "It's fun to think about.$"
Route120_Text_2A70C7: @ 82A70C7
Route120_Text_BerriesExpressionOfLoveIsntIt: @ 82A70C7
.string "BERRIES grow by soaking up sunlight.\p"
.string "We help the BERRIES grow by watering\n"
.string "them regularly.\p"
.string "It's an expression of love, isn't it?$"
Route120_Text_2A7147: @ 82A7147
Route120_Text_YesYouUnderstand: @ 82A7147
.string "Yes, yes.\n"
.string "You understand what I mean.\p"
.string "You should take this.$"
Route120_Text_2A7183: @ 82A7183
Route120_Text_MakeYourOwnImpressions: @ 82A7183
.string "Oh… But it is important to make your\n"
.string "own impressions, I guess…\p"
.string "You can have this.$"
Route120_Text_2A71D5: @ 82A71D5
Route120_Text_BerryIsRareRaiseItWithCare: @ 82A71D5
.string "I think that BERRY is rare.\n"
.string "I hope you raise it with loving care.$"
Route120_Text_2A7217: @ 82A7217
Route120_Text_IllGetMoreBerriesFromBerryMaster: @ 82A7217
.string "I'll get more BERRIES from\n"
.string "the BERRY MASTER.$"

File diff suppressed because it is too large Load Diff

View File

@@ -125,7 +125,7 @@
#define FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT 0x6F
#define FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE 0x70
#define FLAG_UNUSED_RS_LEGENDARY_BATTLE_DONE 0x71 // Unused Flag. Used in R/S to indicate whether player defeated or caught Groudon/Kyogre in Cave of Origin.
#define FLAG_SCOTT_CALL_NATIONAL_DEX 0x72 // Used in order to activate a phone call from Scott, inviting the player to the SS Tidal.
#define FLAG_SCOTT_CALL_BATTLE_FRONTIER 0x72 // Used in order to activate a phone call from Scott, inviting the player to the SS Tidal.
#define FLAG_RECEIVED_METEORITE 0x73
#define FLAG_ADVENTURE_STARTED 0x74 // RECEIVED Pokédex.
#define FLAG_DEFEATED_MAGMA_SPACE_CENTER 0x75 // Set when Team Magma is defeated at Mossdeep's Space Center.
@@ -151,7 +151,7 @@
#define FLAG_THANKED_FOR_PLAYING_WITH_WALLY 0x87
#define FLAG_ENABLE_FIRST_WALLY_POKENAV_CALL 0x88 // Set after defeating Wally outside Mauville Gym. Will activate a call later to register Wally.
#define FLAG_RECEIVED_HM01 0x89
#define FLAG_REGISTER_WINONA_POKENAV 0x8A // Set after obtaining registering Winona, and cleared after Scott's call.
#define FLAG_SCOTT_CALL_FORTREE_GYM 0x8A // Trigger calls from Scott after defeating Winona
#define FLAG_DEFEATED_EVIL_TEAM_MT_CHIMNEY 0x8B
#define FLAG_RECEIVED_6_SODA_POP 0x8C
#define FLAG_DEFEATED_SEASHORE_HOUSE 0x8D

View File

@@ -149,8 +149,8 @@
#define METATILE_Fortree_SecretBase_LongGrass_BottomLeft 0x281
#define METATILE_Fortree_SecretBase_LongGrass_BottomMid 0x282
#define METATILE_Fortree_SecretBase_LongGrass_BottomRight 0x283
#define METATILE_Fortree_WoodBridge_Kecleon0 0x297
#define METATILE_Fortree_WoodBridge_Kecleon1 0x29F
#define METATILE_Fortree_WoodBridge1_Top 0x297
#define METATILE_Fortree_WoodBridge1_Bottom 0x29F
// gTileset_Sootopolis
#define METATILE_Sootopolis_Door_Closed 0x248

View File

@@ -257,9 +257,9 @@
#define VAR_SECRET_BASE_IS_NOT_LOCAL 0x40F0 // Set to TRUE while in another player's secret base.
#define VAR_DAILY_BP 0x40F1
#define VAR_WALLY_CALL_STEP_COUNTER 0x40F2
#define VAR_WINONA_CALL_STEP_COUNTER 0x40F3
#define VAR_SCOTT_FORTREE_CALL_STEP_COUNTER 0x40F3
#define VAR_ROXANNE_CALL_STEP_COUNTER 0x40F4
#define VAR_SCOTT_CALL_STEP_COUNTER 0x40F5
#define VAR_SCOTT_BF_CALL_STEP_COUNTER 0x40F5
#define VAR_RIVAL_RAYQUAZA_CALL_STEP_COUNTER 0x40F6
#define VAR_UNUSED_0x40F7 0x40F7 // Unused Var
#define VAR_UNUSED_0x40F8 0x40F8 // Unused Var

View File

@@ -553,7 +553,7 @@ extern const u8 EventScript_EggHatch[];
extern const u8 UnusualWeather_EventScript_EndEventAndCleanup_1[];
extern const u8 IslandCave_EventScript_OpenRegiEntrance[];
extern const u8 MauvilleCity_EventScript_RegisterWallyCall[];
extern const u8 Route119_EventScript_1F49EC[];
extern const u8 Route119_EventScript_ScottWonAtFortreeGymCall[];
extern const u8 LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall[];
extern const u8 RustboroCity_Gym_EventScript_RegisterRoxanne[];
extern const u8 MossdeepCity_SpaceCenter_2F_EventScript_RivalRayquazaCall[];

View File

@@ -13,8 +13,8 @@ void IncrementBirthIslandRockStepCount(void);
bool8 UnusualWeatherHasExpired(void);
bool8 ShouldDoBrailleRegicePuzzle(void);
bool32 ShouldDoWallyCall(void);
bool32 ShouldDoWinonaCall(void);
bool32 ShouldDoScottCall(void);
bool32 ShouldDoScottFortreeCall(void);
bool32 ShouldDoScottBattleFrontierCall(void);
bool32 ShouldDoRoxanneCall(void);
bool32 ShouldDoRivalRayquazaCall(void);
bool32 CountSSTidalStep(u16 delta);

View File

@@ -571,12 +571,12 @@ static bool8 TryStartStepCountScript(u16 metatileBehavior)
ScriptContext1_SetupScript(MauvilleCity_EventScript_RegisterWallyCall);
return TRUE;
}
if (ShouldDoWinonaCall() == TRUE)
if (ShouldDoScottFortreeCall() == TRUE)
{
ScriptContext1_SetupScript(Route119_EventScript_1F49EC);
ScriptContext1_SetupScript(Route119_EventScript_ScottWonAtFortreeGymCall);
return TRUE;
}
if (ShouldDoScottCall() == TRUE)
if (ShouldDoScottBattleFrontierCall() == TRUE)
{
ScriptContext1_SetupScript(LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall);
return TRUE;

View File

@@ -395,9 +395,9 @@ bool32 ShouldDoWallyCall(void)
return TRUE;
}
bool32 ShouldDoWinonaCall(void)
bool32 ShouldDoScottFortreeCall(void)
{
if (FlagGet(FLAG_REGISTER_WINONA_POKENAV))
if (FlagGet(FLAG_SCOTT_CALL_FORTREE_GYM))
{
switch (gMapHeader.mapType)
{
@@ -405,7 +405,7 @@ bool32 ShouldDoWinonaCall(void)
case MAP_TYPE_CITY:
case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_ROUTE:
if (++(*GetVarPointer(VAR_WINONA_CALL_STEP_COUNTER)) < 10)
if (++(*GetVarPointer(VAR_SCOTT_FORTREE_CALL_STEP_COUNTER)) < 10)
{
return FALSE;
}
@@ -422,9 +422,9 @@ bool32 ShouldDoWinonaCall(void)
return TRUE;
}
bool32 ShouldDoScottCall(void)
bool32 ShouldDoScottBattleFrontierCall(void)
{
if (FlagGet(FLAG_SCOTT_CALL_NATIONAL_DEX))
if (FlagGet(FLAG_SCOTT_CALL_BATTLE_FRONTIER))
{
switch (gMapHeader.mapType)
{
@@ -432,7 +432,7 @@ bool32 ShouldDoScottCall(void)
case MAP_TYPE_CITY:
case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_ROUTE:
if (++(*GetVarPointer(VAR_SCOTT_CALL_STEP_COUNTER)) < 10)
if (++(*GetVarPointer(VAR_SCOTT_BF_CALL_STEP_COUNTER)) < 10)
{
return FALSE;
}