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
+2 -2
View File
@@ -43,8 +43,8 @@ FortreeCity_Gym_EventScript_WinonaDefeated:: @ 82165FD
closemessage closemessage
delay 30 delay 30
setflag FLAG_ENABLE_WINONA_MATCH_CALL setflag FLAG_ENABLE_WINONA_MATCH_CALL
setvar VAR_WINONA_CALL_STEP_COUNTER, 0 setvar VAR_SCOTT_FORTREE_CALL_STEP_COUNTER, 0
setflag FLAG_REGISTER_WINONA_POKENAV setflag FLAG_SCOTT_CALL_FORTREE_GYM
release release
end end
@@ -212,8 +212,8 @@ LittlerootTown_ProfessorBirchsLab_EventScript_UpgradeToNationalDex:: @ 81F9E80
setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCH setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCH
setflag FLAG_HIDE_LITTLEROOT_TOWN_RIVAL setflag FLAG_HIDE_LITTLEROOT_TOWN_RIVAL
setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2 setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 2
setvar VAR_SCOTT_CALL_STEP_COUNTER, 0 setvar VAR_SCOTT_BF_CALL_STEP_COUNTER, 0
setflag FLAG_SCOTT_CALL_NATIONAL_DEX setflag FLAG_SCOTT_CALL_BATTLE_FRONTIER
releaseall releaseall
end end
@@ -703,7 +703,7 @@ LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall:: @ 81FA4D6
lockall lockall
pokenavcall LittlerootTown_ProfessorBirchsLab_Text_ScottAboardSSTidalCall pokenavcall LittlerootTown_ProfessorBirchsLab_Text_ScottAboardSSTidalCall
waitmessage waitmessage
clearflag FLAG_SCOTT_CALL_NATIONAL_DEX clearflag FLAG_SCOTT_CALL_BATTLE_FRONTIER
releaseall releaseall
end end
+23 -23
View File
@@ -40,7 +40,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED00F", "script": "Route104_EventScript_BugCatcher",
"flag": "0" "flag": "0"
}, },
{ {
@@ -53,7 +53,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED006", "script": "Route104_EventScript_Girl1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -66,7 +66,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7", "trainer_sight_or_berry_tree_id": "7",
"script": "Route104_EventScript_1ED38D", "script": "Route104_EventScript_Haley",
"flag": "0" "flag": "0"
}, },
{ {
@@ -79,7 +79,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED045", "script": "Route104_EventScript_Boy1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -92,7 +92,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED04E", "script": "Route104_EventScript_Woman",
"flag": "0" "flag": "0"
}, },
{ {
@@ -105,7 +105,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED090", "script": "Route104_EventScript_Girl2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -144,7 +144,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED35F", "script": "Route104_EventScript_Ivan",
"flag": "0" "flag": "0"
}, },
{ {
@@ -235,7 +235,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ECF8C", "script": "Route104_EventScript_ExpertF",
"flag": "0" "flag": "0"
}, },
{ {
@@ -313,7 +313,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ECFCD", "script": "Route104_EventScript_WhiteHerbFlorist",
"flag": "FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST" "flag": "FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST"
}, },
{ {
@@ -326,7 +326,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route104_EventScript_1ED597", "script": "Route104_EventScript_Gina",
"flag": "0" "flag": "0"
}, },
{ {
@@ -339,7 +339,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route104_EventScript_1ED5B6", "script": "Route104_EventScript_Mia",
"flag": "0" "flag": "0"
}, },
{ {
@@ -352,7 +352,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_1ED43B", "script": "Route104_EventScript_Winston",
"flag": "0" "flag": "0"
}, },
{ {
@@ -365,7 +365,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_1ED4E9", "script": "Route104_EventScript_Cindy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -391,7 +391,7 @@
"movement_range_y": 6, "movement_range_y": 6,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2", "trainer_sight_or_berry_tree_id": "2",
"script": "Route104_EventScript_1ED376", "script": "Route104_EventScript_Billy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -443,7 +443,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED057", "script": "Route104_EventScript_Boy2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -456,7 +456,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ED5D5", "script": "Route104_EventScript_Darian",
"flag": "0" "flag": "0"
}, },
{ {
@@ -469,7 +469,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_1ECC9E", "script": "Route104_EventScript_Rival",
"flag": "FLAG_HIDE_ROUTE_104_RIVAL" "flag": "FLAG_HIDE_ROUTE_104_RIVAL"
} }
], ],
@@ -539,7 +539,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_ROUTE104_STATE", "var": "VAR_ROUTE104_STATE",
"var_value": "1", "var_value": "1",
"script": "Route104_EventScript_1ECCB3" "script": "Route104_EventScript_RivalTrigger"
} }
], ],
"bg_events": [ "bg_events": [
@@ -549,7 +549,7 @@
"y": 50, "y": 50,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED018" "script": "Route104_EventScript_BrineysCottageSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -557,7 +557,7 @@
"y": 66, "y": 66,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED021" "script": "Route104_EventScript_RouteSignPetalburg"
}, },
{ {
"type": "sign", "type": "sign",
@@ -565,7 +565,7 @@
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED02A" "script": "Route104_EventScript_RouteSignRustboro"
}, },
{ {
"type": "sign", "type": "sign",
@@ -573,7 +573,7 @@
"y": 20, "y": 20,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED033" "script": "Route104_EventScript_FlowerShopSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -581,7 +581,7 @@
"y": 23, "y": 23,
"elevation": 3, "elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_1ED03C" "script": "Route104_EventScript_TrainerTipsDoubleBattles"
}, },
{ {
"type": "hidden_item", "type": "hidden_item",
File diff suppressed because it is too large Load Diff
+27 -27
View File
@@ -74,7 +74,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F47E2", "script": "Route119_EventScript_Greg",
"flag": "0" "flag": "0"
}, },
{ {
@@ -87,7 +87,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F47B4", "script": "Route119_EventScript_Taylor",
"flag": "0" "flag": "0"
}, },
{ {
@@ -100,7 +100,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F479D", "script": "Route119_EventScript_Donald",
"flag": "0" "flag": "0"
}, },
{ {
@@ -113,7 +113,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F4810", "script": "Route119_EventScript_Jackson",
"flag": "0" "flag": "0"
}, },
{ {
@@ -126,7 +126,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F4786", "script": "Route119_EventScript_Brent",
"flag": "0" "flag": "0"
}, },
{ {
@@ -139,7 +139,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2", "trainer_sight_or_berry_tree_id": "2",
"script": "Route119_EventScript_1F4872", "script": "Route119_EventScript_Catherine",
"flag": "0" "flag": "0"
}, },
{ {
@@ -152,7 +152,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F47CB", "script": "Route119_EventScript_Doug",
"flag": "0" "flag": "0"
}, },
{ {
@@ -165,7 +165,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F47F9", "script": "Route119_EventScript_Kent",
"flag": "0" "flag": "0"
}, },
{ {
@@ -178,7 +178,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route119_EventScript_1F4902", "script": "Route119_EventScript_Yasu",
"flag": "0" "flag": "0"
}, },
{ {
@@ -191,7 +191,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F4919", "script": "Route119_EventScript_Takashi",
"flag": "0" "flag": "0"
}, },
{ {
@@ -204,7 +204,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F48D4", "script": "Route119_EventScript_Hugh",
"flag": "0" "flag": "0"
}, },
{ {
@@ -217,7 +217,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5", "trainer_sight_or_berry_tree_id": "5",
"script": "Route119_EventScript_1F48EB", "script": "Route119_EventScript_Phil",
"flag": "0" "flag": "0"
}, },
{ {
@@ -321,7 +321,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F49A3", "script": "Route119_EventScript_BridgeAquaGrunt1",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA" "flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
}, },
{ {
@@ -334,7 +334,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F49BA", "script": "Route119_EventScript_BridgeAquaGrunt2",
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA" "flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
}, },
{ {
@@ -360,7 +360,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F49D1", "script": "Route119_EventScript_Boy1",
"flag": "0" "flag": "0"
}, },
{ {
@@ -425,7 +425,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F476B", "script": "Route119_EventScript_CyclingTriathleteM",
"flag": "0" "flag": "0"
}, },
{ {
@@ -451,7 +451,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F49DA", "script": "Route119_EventScript_Boy2",
"flag": "0" "flag": "0"
}, },
{ {
@@ -464,7 +464,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F4930", "script": "Route119_EventScript_Hideo",
"flag": "0" "flag": "0"
}, },
{ {
@@ -503,7 +503,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route119_EventScript_1F4947", "script": "Route119_EventScript_Chris",
"flag": "0" "flag": "0"
}, },
{ {
@@ -516,7 +516,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "5", "trainer_sight_or_berry_tree_id": "5",
"script": "Route119_EventScript_1F498C", "script": "Route119_EventScript_Rachel",
"flag": "0" "flag": "0"
}, },
{ {
@@ -529,7 +529,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route119_EventScript_1F4975", "script": "Route119_EventScript_Dayton",
"flag": "0" "flag": "0"
}, },
{ {
@@ -542,7 +542,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route119_EventScript_1F495E", "script": "Route119_EventScript_Fabian",
"flag": "0" "flag": "0"
}, },
{ {
@@ -609,7 +609,7 @@
"elevation": 0, "elevation": 0,
"var": "VAR_ROUTE119_STATE", "var": "VAR_ROUTE119_STATE",
"var_value": "0", "var_value": "0",
"script": "Route119_EventScript_1F4472" "script": "Route119_EventScript_RivalTrigger1"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -618,7 +618,7 @@
"elevation": 0, "elevation": 0,
"var": "VAR_ROUTE119_STATE", "var": "VAR_ROUTE119_STATE",
"var_value": "0", "var_value": "0",
"script": "Route119_EventScript_1F447D" "script": "Route119_EventScript_RivalTrigger2"
}, },
{ {
"type": "weather", "type": "weather",
@@ -775,7 +775,7 @@
"y": 33, "y": 33,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route119_EventScript_1F477D" "script": "Route119_EventScript_WeatherInstituteSign"
}, },
{ {
"type": "sign", "type": "sign",
@@ -783,7 +783,7 @@
"y": 19, "y": 19,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route119_EventScript_1F4774" "script": "Route119_EventScript_RouteSignFortree"
}, },
{ {
"type": "secret_base", "type": "secret_base",
@@ -914,7 +914,7 @@
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route119_EventScript_1F49E3" "script": "Route119_EventScript_TrainerTipsDecoration"
} }
] ]
} }
+205 -205
View File
@@ -1,13 +1,13 @@
Route119_MapScripts:: @ 81F4424 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 map_script MAP_SCRIPT_ON_TRANSITION, Route119_OnTransition
.byte 0 .byte 0
Route119_MapScript1_1F442F: @ 81F442F Route119_OnResume: @ 81F442F
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route119_EventScript_1F4439 call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route119_EventScript_TryRemoveKecleon
end end
Route119_EventScript_1F4439:: @ 81F4439 Route119_EventScript_TryRemoveKecleon:: @ 81F4439
specialvar VAR_RESULT, GetBattleOutcome specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn goto_if_ne Common_EventScript_NopReturn
@@ -18,231 +18,231 @@ Route119_OnTransition: @ 81F444D
call Common_EventScript_SetupRivalGfxId call Common_EventScript_SetupRivalGfxId
call Common_EventScript_SetupRivalOnBikeGfxId call Common_EventScript_SetupRivalOnBikeGfxId
compare VAR_WEATHER_INSTITUTE_STATE, 1 compare VAR_WEATHER_INSTITUTE_STATE, 1
call_if_eq Route119_EventScript_1F4466 call_if_eq Route119_EventScript_MoveInstituteWorkersDownstairs
special SetRoute119Weather special SetRoute119Weather
end end
Route119_EventScript_1F4466:: @ 81F4466 Route119_EventScript_MoveInstituteWorkersDownstairs:: @ 81F4466
setflag FLAG_HIDE_WEATHER_INSTITUTE_2F_WORKERS setflag FLAG_HIDE_WEATHER_INSTITUTE_2F_WORKERS
clearflag FLAG_HIDE_WEATHER_INSTITUTE_1F_WORKERS clearflag FLAG_HIDE_WEATHER_INSTITUTE_1F_WORKERS
setvar VAR_WEATHER_INSTITUTE_STATE, 2 setvar VAR_WEATHER_INSTITUTE_STATE, 2
return return
Route119_EventScript_1F4472:: @ 81F4472 Route119_EventScript_RivalTrigger1:: @ 81F4472
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
goto Route119_EventScript_1F4488 goto Route119_EventScript_RivalEncounter
end end
Route119_EventScript_1F447D:: @ 81F447D Route119_EventScript_RivalTrigger2:: @ 81F447D
setvar VAR_TEMP_1, 2 setvar VAR_TEMP_1, 2
goto Route119_EventScript_1F4488 goto Route119_EventScript_RivalEncounter
end end
Route119_EventScript_1F4488:: @ 81F4488 Route119_EventScript_RivalEncounter:: @ 81F4488
lockall lockall
addobject 25 addobject 25 @ Rival on bike
checkplayergender checkplayergender
compare VAR_RESULT, MALE compare VAR_RESULT, MALE
call_if_eq Route119_EventScript_1F4501 call_if_eq Route119_EventScript_PlayMayMusic
compare VAR_RESULT, FEMALE compare VAR_RESULT, FEMALE
call_if_eq Route119_EventScript_1F4506 call_if_eq Route119_EventScript_PlayBrendanMusic
delay 65 delay 65
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F46C6 call_if_eq Route119_EventScript_RivalEnter1
compare VAR_TEMP_1, 2 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 applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0 waitmovement 0
delay 30 delay 30
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F4700 call_if_eq Route119_EventScript_SetRivalPos1
compare VAR_TEMP_1, 2 compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F470F call_if_eq Route119_EventScript_SetRivalPos2
removeobject 25 removeobject 25
addobject 16 addobject 16 @ Rival on foot
delay 30 delay 30
checkplayergender checkplayergender
compare VAR_RESULT, MALE compare VAR_RESULT, MALE
goto_if_eq Route119_EventScript_1F450B goto_if_eq Route119_EventScript_BattleMay
compare VAR_RESULT, FEMALE compare VAR_RESULT, FEMALE
goto_if_eq Route119_EventScript_1F4585 goto_if_eq Route119_EventScript_BattleBrendan
releaseall releaseall
end end
Route119_EventScript_1F4501:: @ 81F4501 Route119_EventScript_PlayMayMusic:: @ 81F4501
playbgm MUS_GIRL_SUP, 1 playbgm MUS_GIRL_SUP, 1
return return
Route119_EventScript_1F4506:: @ 81F4506 Route119_EventScript_PlayBrendanMusic:: @ 81F4506
playbgm MUS_BOY_SUP, 1 playbgm MUS_BOY_SUP, 1
return return
Route119_EventScript_1F450B:: @ 81F450B Route119_EventScript_BattleMay:: @ 81F450B
msgbox Route119_Text_1F49FD, MSGBOX_DEFAULT msgbox Route119_Text_MayIntro, MSGBOX_DEFAULT
switch VAR_STARTER_MON switch VAR_STARTER_MON
case 0, Route119_EventScript_1F453A case 0, Route119_EventScript_BattleMayTreecko
case 1, Route119_EventScript_1F454A case 1, Route119_EventScript_BattleMayTorchic
case 2, Route119_EventScript_1F455A case 2, Route119_EventScript_BattleMayMudkip
end end
Route119_EventScript_1F453A:: @ 81F453A Route119_EventScript_BattleMayTreecko:: @ 81F453A
trainerbattle_no_intro TRAINER_MAY_6, Route119_Text_1F4A98 trainerbattle_no_intro TRAINER_MAY_6, Route119_Text_MayDefeat
goto Route119_EventScript_1F456A goto Route119_EventScript_DefeatedMay
end end
Route119_EventScript_1F454A:: @ 81F454A Route119_EventScript_BattleMayTorchic:: @ 81F454A
trainerbattle_no_intro TRAINER_MAY_9, Route119_Text_1F4A98 trainerbattle_no_intro TRAINER_MAY_9, Route119_Text_MayDefeat
goto Route119_EventScript_1F456A goto Route119_EventScript_DefeatedMay
end end
Route119_EventScript_1F455A:: @ 81F455A Route119_EventScript_BattleMayMudkip:: @ 81F455A
trainerbattle_no_intro TRAINER_MAY_3, Route119_Text_1F4A98 trainerbattle_no_intro TRAINER_MAY_3, Route119_Text_MayDefeat
goto Route119_EventScript_1F456A goto Route119_EventScript_DefeatedMay
end end
Route119_EventScript_1F456A:: @ 81F456A Route119_EventScript_DefeatedMay:: @ 81F456A
msgbox Route119_Text_1F4AF3, MSGBOX_DEFAULT msgbox Route119_Text_MayPresentForYou, MSGBOX_DEFAULT
call Route119_EventScript_1F45FF call Route119_EventScript_GiveFlyHM
msgbox Route119_Text_1F4B56, MSGBOX_DEFAULT msgbox Route119_Text_MayExplainFly, MSGBOX_DEFAULT
goto Route119_EventScript_1F460F goto Route119_EventScript_RivalExitScottArrive
end end
Route119_EventScript_1F4585:: @ 81F4585 Route119_EventScript_BattleBrendan:: @ 81F4585
msgbox Route119_Text_1F4C9A, MSGBOX_DEFAULT msgbox Route119_Text_BrendanIntro, MSGBOX_DEFAULT
switch VAR_STARTER_MON switch VAR_STARTER_MON
case 0, Route119_EventScript_1F45B4 case 0, Route119_EventScript_BattleBrendanTreecko
case 1, Route119_EventScript_1F45C4 case 1, Route119_EventScript_BattleBrendanTorchic
case 2, Route119_EventScript_1F45D4 case 2, Route119_EventScript_BattleBrendanMudkip
end end
Route119_EventScript_1F45B4:: @ 81F45B4 Route119_EventScript_BattleBrendanTreecko:: @ 81F45B4
trainerbattle_no_intro TRAINER_BRENDAN_6, Route119_Text_1F4D24 trainerbattle_no_intro TRAINER_BRENDAN_6, Route119_Text_BrendanDefeat
goto Route119_EventScript_1F45E4 goto Route119_EventScript_DefeatedBrendan
end end
Route119_EventScript_1F45C4:: @ 81F45C4 Route119_EventScript_BattleBrendanTorchic:: @ 81F45C4
trainerbattle_no_intro TRAINER_BRENDAN_9, Route119_Text_1F4D24 trainerbattle_no_intro TRAINER_BRENDAN_9, Route119_Text_BrendanDefeat
goto Route119_EventScript_1F45E4 goto Route119_EventScript_DefeatedBrendan
end end
Route119_EventScript_1F45D4:: @ 81F45D4 Route119_EventScript_BattleBrendanMudkip:: @ 81F45D4
trainerbattle_no_intro TRAINER_BRENDAN_3, Route119_Text_1F4D24 trainerbattle_no_intro TRAINER_BRENDAN_3, Route119_Text_BrendanDefeat
goto Route119_EventScript_1F45E4 goto Route119_EventScript_DefeatedBrendan
end end
Route119_EventScript_1F45E4:: @ 81F45E4 Route119_EventScript_DefeatedBrendan:: @ 81F45E4
msgbox Route119_Text_1F4D4B, MSGBOX_DEFAULT msgbox Route119_Text_BrendanIllGiveYouThis, MSGBOX_DEFAULT
call Route119_EventScript_1F45FF call Route119_EventScript_GiveFlyHM
msgbox Route119_Text_1F4DB5, MSGBOX_DEFAULT msgbox Route119_Text_BrendanExplainFly, MSGBOX_DEFAULT
goto Route119_EventScript_1F460F goto Route119_EventScript_RivalExitScottArrive
end end
Route119_EventScript_1F45FF:: @ 81F45FF Route119_EventScript_GiveFlyHM:: @ 81F45FF
giveitem_std ITEM_HM02 giveitem_std ITEM_HM02
setflag FLAG_RECEIVED_HM02 setflag FLAG_RECEIVED_HM02
return return
Route119_EventScript_1F460F:: @ 81F460F Route119_EventScript_RivalExitScottArrive:: @ 81F460F
closemessage closemessage
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F4700 call_if_eq Route119_EventScript_SetRivalPos1
compare VAR_TEMP_1, 2 compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F470F call_if_eq Route119_EventScript_SetRivalPos2
removeobject 16 removeobject 16 @ Rival on foot
addobject 25 addobject 25 @ Rival on bike
delay 30 delay 30
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F46DC call_if_eq Route119_EventScript_RivalExit1
compare VAR_TEMP_1, 2 compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F46EE call_if_eq Route119_EventScript_RivalExit2
removeobject 25 removeobject 25
setvar VAR_ROUTE119_STATE, 1 setvar VAR_ROUTE119_STATE, 1
savebgm MUS_DUMMY savebgm MUS_DUMMY
fadedefaultbgm fadedefaultbgm
delay 60 delay 60
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F46A0 call_if_eq Route119_EventScript_SetScottPos1
compare VAR_TEMP_1, 2 compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F46A8 call_if_eq Route119_EventScript_SetScottPos2
addobject 43 addobject 43 @ Scott
applymovement 43, Route119_Movement_1F4752 applymovement 43, Route119_Movement_ScottEnter
waitmovement 0 waitmovement 0
addvar VAR_SCOTT_STATE, 1 addvar VAR_SCOTT_STATE, 1
msgbox Route119_Text_1F4E60, MSGBOX_DEFAULT msgbox Route119_Text_ScottWayToGoBeSeeingYou, MSGBOX_DEFAULT
closemessage closemessage
compare VAR_TEMP_1, 1 compare VAR_TEMP_1, 1
call_if_eq Route119_EventScript_1F46B0 call_if_eq Route119_EventScript_ScottExit1
compare VAR_TEMP_1, 2 compare VAR_TEMP_1, 2
call_if_eq Route119_EventScript_1F46BB call_if_eq Route119_EventScript_ScottExit2
removeobject 43 removeobject 43
releaseall releaseall
end end
Route119_EventScript_1F46A0:: @ 81F46A0 Route119_EventScript_SetScottPos1:: @ 81F46A0
setobjectxyperm 43, 27, 25 setobjectxyperm 43, 27, 25
return return
Route119_EventScript_1F46A8:: @ 81F46A8 Route119_EventScript_SetScottPos2:: @ 81F46A8
setobjectxyperm 43, 28, 25 setobjectxyperm 43, 28, 25
return return
Route119_EventScript_1F46B0:: @ 81F46B0 Route119_EventScript_ScottExit1:: @ 81F46B0
applymovement 43, Route119_Movement_1F475A applymovement 43, Route119_Movement_ScottExit1
waitmovement 0 waitmovement 0
return return
Route119_EventScript_1F46BB:: @ 81F46BB Route119_EventScript_ScottExit2:: @ 81F46BB
applymovement 43, Route119_Movement_1F4763 applymovement 43, Route119_Movement_ScottExit2
waitmovement 0 waitmovement 0
return return
Route119_EventScript_1F46C6:: @ 81F46C6 Route119_EventScript_RivalEnter1:: @ 81F46C6
applymovement 25, Route119_Movement_1F4728 applymovement 25, Route119_Movement_RivalEnter1
waitmovement 0 waitmovement 0
return return
Route119_EventScript_1F46D1:: @ 81F46D1 Route119_EventScript_RivalEnter2:: @ 81F46D1
applymovement 25, Route119_Movement_1F4732 applymovement 25, Route119_Movement_RivalEnter2
waitmovement 0 waitmovement 0
return return
Route119_EventScript_1F46DC:: @ 81F46DC Route119_EventScript_RivalExit1:: @ 81F46DC
applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_1F471E applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_PlayerWatchRivalExit1
applymovement 25, Route119_Movement_1F473D applymovement 25, Route119_Movement_RivalExit1
waitmovement 0 waitmovement 0
return return
Route119_EventScript_1F46EE:: @ 81F46EE Route119_EventScript_RivalExit2:: @ 81F46EE
applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_1F4723 applymovement EVENT_OBJ_ID_PLAYER, Route119_Movement_PlayerWatchRivalExit2
applymovement 25, Route119_Movement_1F4747 applymovement 25, Route119_Movement_RivalExit2
waitmovement 0 waitmovement 0
return return
Route119_EventScript_1F4700:: @ 81F4700 Route119_EventScript_SetRivalPos1:: @ 81F4700
setobjectxyperm 16, 25, 32 setobjectxyperm 16, 25, 32
setobjectxyperm 25, 25, 32 setobjectxyperm 25, 25, 32
return return
Route119_EventScript_1F470F:: @ 81F470F Route119_EventScript_SetRivalPos2:: @ 81F470F
setobjectxyperm 16, 26, 32 setobjectxyperm 16, 26, 32
setobjectxyperm 25, 26, 32 setobjectxyperm 25, 26, 32
return return
Route119_Movement_1F471E: @ 81F471E Route119_Movement_PlayerWatchRivalExit1: @ 81F471E
delay_16 delay_16
walk_in_place_fastest_right walk_in_place_fastest_right
delay_8 delay_8
walk_in_place_fastest_up walk_in_place_fastest_up
step_end step_end
Route119_Movement_1F4723: @ 81F4723 Route119_Movement_PlayerWatchRivalExit2: @ 81F4723
delay_16 delay_16
walk_in_place_fastest_left walk_in_place_fastest_left
delay_8 delay_8
walk_in_place_fastest_up walk_in_place_fastest_up
step_end step_end
Route119_Movement_1F4728: @ 81F4728 Route119_Movement_RivalEnter1: @ 81F4728
walk_fast_right walk_fast_right
walk_fast_right walk_fast_right
walk_fast_right walk_fast_right
@@ -254,7 +254,7 @@ Route119_Movement_1F4728: @ 81F4728
walk_fast_up walk_fast_up
step_end step_end
Route119_Movement_1F4732: @ 81F4732 Route119_Movement_RivalEnter2: @ 81F4732
walk_fast_right walk_fast_right
walk_fast_right walk_fast_right
walk_fast_right walk_fast_right
@@ -267,7 +267,7 @@ Route119_Movement_1F4732: @ 81F4732
walk_fast_up walk_fast_up
step_end step_end
Route119_Movement_1F473D: @ 81F473D Route119_Movement_RivalExit1: @ 81F473D
walk_fast_right walk_fast_right
walk_fast_up walk_fast_up
walk_fast_up walk_fast_up
@@ -279,7 +279,7 @@ Route119_Movement_1F473D: @ 81F473D
walk_fast_up walk_fast_up
step_end step_end
Route119_Movement_1F4747: @ 81F4747 Route119_Movement_RivalExit2: @ 81F4747
walk_fast_left walk_fast_left
walk_fast_up walk_fast_up
walk_fast_up walk_fast_up
@@ -292,7 +292,7 @@ Route119_Movement_1F4747: @ 81F4747
walk_fast_up walk_fast_up
step_end step_end
Route119_Movement_1F4752: @ 81F4752 Route119_Movement_ScottEnter: @ 81F4752
walk_down walk_down
walk_down walk_down
walk_down walk_down
@@ -302,7 +302,7 @@ Route119_Movement_1F4752: @ 81F4752
walk_down walk_down
step_end step_end
Route119_Movement_1F475A: @ 81F475A Route119_Movement_ScottExit1: @ 81F475A
walk_up walk_up
walk_right walk_right
walk_right walk_right
@@ -313,7 +313,7 @@ Route119_Movement_1F475A: @ 81F475A
walk_up walk_up
step_end step_end
Route119_Movement_1F4763: @ 81F4763 Route119_Movement_ScottExit2: @ 81F4763
walk_up walk_up
walk_right walk_right
walk_up walk_up
@@ -323,179 +323,179 @@ Route119_Movement_1F4763: @ 81F4763
walk_up walk_up
step_end step_end
Route119_EventScript_1F476B:: @ 81F476B Route119_EventScript_CyclingTriathleteM:: @ 81F476B
msgbox Route119_Text_1F5261, MSGBOX_NPC msgbox Route119_Text_TallGrassSnaresBikeTires, MSGBOX_NPC
end end
Route119_EventScript_1F4774:: @ 81F4774 Route119_EventScript_RouteSignFortree:: @ 81F4774
msgbox Route119_Text_1F530E, MSGBOX_SIGN msgbox Route119_Text_RouteSignFortree, MSGBOX_SIGN
end end
Route119_EventScript_1F477D:: @ 81F477D Route119_EventScript_WeatherInstituteSign:: @ 81F477D
msgbox Route119_Text_1F5327, MSGBOX_SIGN msgbox Route119_Text_WeatherInstitute, MSGBOX_SIGN
end end
Route119_EventScript_1F4786:: @ 81F4786 Route119_EventScript_Brent:: @ 81F4786
trainerbattle_single TRAINER_BRENT, Route119_Text_29D8C2, Route119_Text_29D8F0 trainerbattle_single TRAINER_BRENT, Route119_Text_BrentIntro, Route119_Text_BrentDefeat
msgbox Route119_Text_29D902, MSGBOX_AUTOCLOSE msgbox Route119_Text_BrentPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F479D:: @ 81F479D Route119_EventScript_Donald:: @ 81F479D
trainerbattle_single TRAINER_DONALD, Route119_Text_29D941, Route119_Text_29D97C trainerbattle_single TRAINER_DONALD, Route119_Text_DonaldIntro, Route119_Text_DonaldDefeat
msgbox Route119_Text_29D993, MSGBOX_AUTOCLOSE msgbox Route119_Text_DonaldPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F47B4:: @ 81F47B4 Route119_EventScript_Taylor:: @ 81F47B4
trainerbattle_single TRAINER_TAYLOR, Route119_Text_29D9CD, Route119_Text_29DA14 trainerbattle_single TRAINER_TAYLOR, Route119_Text_TaylorIntro, Route119_Text_TaylorDefeat
msgbox Route119_Text_29DA2C, MSGBOX_AUTOCLOSE msgbox Route119_Text_TaylorPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F47CB:: @ 81F47CB Route119_EventScript_Doug:: @ 81F47CB
trainerbattle_single TRAINER_DOUG, Route119_Text_29DA7D, Route119_Text_29DABC trainerbattle_single TRAINER_DOUG, Route119_Text_DougIntro, Route119_Text_DougDefeat
msgbox Route119_Text_29DADB, MSGBOX_AUTOCLOSE msgbox Route119_Text_DougPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F47E2:: @ 81F47E2 Route119_EventScript_Greg:: @ 81F47E2
trainerbattle_single TRAINER_GREG, Route119_Text_29DB17, Route119_Text_29DB66 trainerbattle_single TRAINER_GREG, Route119_Text_GregIntro, Route119_Text_GregDefeat
msgbox Route119_Text_29DB7C, MSGBOX_AUTOCLOSE msgbox Route119_Text_GregPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F47F9:: @ 81F47F9 Route119_EventScript_Kent:: @ 81F47F9
trainerbattle_single TRAINER_KENT, Route119_Text_29DBC2, Route119_Text_29DC20 trainerbattle_single TRAINER_KENT, Route119_Text_KentIntro, Route119_Text_KentDefeat
msgbox Route119_Text_29DC2B, MSGBOX_AUTOCLOSE msgbox Route119_Text_KentPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F4810:: @ 81F4810 Route119_EventScript_Jackson:: @ 81F4810
trainerbattle_single TRAINER_JACKSON_1, Route119_Text_29DC4C, Route119_Text_29DC9F, Route119_EventScript_1F483C trainerbattle_single TRAINER_JACKSON_1, Route119_Text_JacksonIntro, Route119_Text_JacksonDefeat, Route119_EventScript_RegisterJackson
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route119_EventScript_1F485B goto_if_eq Route119_EventScript_RematchJackson
msgbox Route119_Text_29DCC6, MSGBOX_DEFAULT msgbox Route119_Text_JacksonPostBattle, MSGBOX_DEFAULT
release release
end end
Route119_EventScript_1F483C:: @ 81F483C Route119_EventScript_RegisterJackson:: @ 81F483C
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route119_Text_29DD1C, MSGBOX_DEFAULT msgbox Route119_Text_JacksonRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JACKSON_1 register_matchcall TRAINER_JACKSON_1
release release
end end
Route119_EventScript_1F485B:: @ 81F485B Route119_EventScript_RematchJackson:: @ 81F485B
trainerbattle_rematch TRAINER_JACKSON_1, Route119_Text_29DD62, Route119_Text_29DDA5 trainerbattle_rematch TRAINER_JACKSON_1, Route119_Text_JacksonRematchIntro, Route119_Text_JacksonRematchDefeat
msgbox Route119_Text_29DDBD, MSGBOX_AUTOCLOSE msgbox Route119_Text_JacksonPostRematch, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F4872:: @ 81F4872 Route119_EventScript_Catherine:: @ 81F4872
trainerbattle_single TRAINER_CATHERINE_1, Route119_Text_29DE0F, Route119_Text_29DE5D, Route119_EventScript_1F489E trainerbattle_single TRAINER_CATHERINE_1, Route119_Text_CatherineIntro, Route119_Text_CatherineDefeat, Route119_EventScript_RegisterCatherine
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route119_EventScript_1F48BD goto_if_eq Route119_EventScript_RematchCatherine
msgbox Route119_Text_29DE88, MSGBOX_DEFAULT msgbox Route119_Text_CatherinePostBattle, MSGBOX_DEFAULT
release release
end end
Route119_EventScript_1F489E:: @ 81F489E Route119_EventScript_RegisterCatherine:: @ 81F489E
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route119_Text_29DEF7, MSGBOX_DEFAULT msgbox Route119_Text_CatherineRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CATHERINE_1 register_matchcall TRAINER_CATHERINE_1
release release
end end
Route119_EventScript_1F48BD:: @ 81F48BD Route119_EventScript_RematchCatherine:: @ 81F48BD
trainerbattle_rematch TRAINER_CATHERINE_1, Route119_Text_29DF6B, Route119_Text_29DF92 trainerbattle_rematch TRAINER_CATHERINE_1, Route119_Text_CatherineRematchIntro, Route119_Text_CatherineRematchDefeat
msgbox Route119_Text_29DFAF, MSGBOX_AUTOCLOSE msgbox Route119_Text_CatherinePostRematch, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F48D4:: @ 81F48D4 Route119_EventScript_Hugh:: @ 81F48D4
trainerbattle_single TRAINER_HUGH, Route119_Text_29E007, Route119_Text_29E063 trainerbattle_single TRAINER_HUGH, Route119_Text_HughIntro, Route119_Text_HughDefeat
msgbox Route119_Text_29E071, MSGBOX_AUTOCLOSE msgbox Route119_Text_HughPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F48EB:: @ 81F48EB Route119_EventScript_Phil:: @ 81F48EB
trainerbattle_single TRAINER_PHIL, Route119_Text_29E0A5, Route119_Text_29E0E1 trainerbattle_single TRAINER_PHIL, Route119_Text_PhilIntro, Route119_Text_PhilDefeat
msgbox Route119_Text_29E0F6, MSGBOX_AUTOCLOSE msgbox Route119_Text_PhilPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F4902:: @ 81F4902 Route119_EventScript_Yasu:: @ 81F4902
trainerbattle_single TRAINER_YASU, Route119_Text_29E134, Route119_Text_29E18D trainerbattle_single TRAINER_YASU, Route119_Text_YasuIntro, Route119_Text_YasuDefeat
msgbox Route119_Text_29E19D, MSGBOX_AUTOCLOSE msgbox Route119_Text_YasuPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F4919:: @ 81F4919 Route119_EventScript_Takashi:: @ 81F4919
trainerbattle_single TRAINER_TAKASHI, Route119_Text_29E1F5, Route119_Text_29E22B trainerbattle_single TRAINER_TAKASHI, Route119_Text_TakashiIntro, Route119_Text_TakashiDefeat
msgbox Route119_Text_29E245, MSGBOX_AUTOCLOSE msgbox Route119_Text_TakashiPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F4930:: @ 81F4930 Route119_EventScript_Hideo:: @ 81F4930
trainerbattle_single TRAINER_HIDEO, Route119_Text_29E26A, Route119_Text_29E288 trainerbattle_single TRAINER_HIDEO, Route119_Text_HideoIntro, Route119_Text_HideoDefeat
msgbox Route119_Text_29E2A3, MSGBOX_AUTOCLOSE msgbox Route119_Text_HideoPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F4947:: @ 81F4947 Route119_EventScript_Chris:: @ 81F4947
trainerbattle_single TRAINER_CHRIS, Route119_Text_29E30D, Route119_Text_29E372 trainerbattle_single TRAINER_CHRIS, Route119_Text_ChrisIntro, Route119_Text_ChrisDefeat
msgbox Route119_Text_29E3A2, MSGBOX_AUTOCLOSE msgbox Route119_Text_ChrisPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F495E:: @ 81F495E Route119_EventScript_Fabian:: @ 81F495E
trainerbattle_single TRAINER_FABIAN, Route119_Text_29E3FF, Route119_Text_29E44F trainerbattle_single TRAINER_FABIAN, Route119_Text_FabianIntro, Route119_Text_FabianDefeat
msgbox Route119_Text_29E492, MSGBOX_AUTOCLOSE msgbox Route119_Text_FabianPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F4975:: @ 81F4975 Route119_EventScript_Dayton:: @ 81F4975
trainerbattle_single TRAINER_DAYTON, Route119_Text_29E4DF, Route119_Text_29E513 trainerbattle_single TRAINER_DAYTON, Route119_Text_DaytonIntro, Route119_Text_DaytonDefeat
msgbox Route119_Text_29E532, MSGBOX_AUTOCLOSE msgbox Route119_Text_DaytonPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F498C:: @ 81F498C Route119_EventScript_Rachel:: @ 81F498C
trainerbattle_single TRAINER_RACHEL, Route119_Text_29E56F, Route119_Text_29E5B1 trainerbattle_single TRAINER_RACHEL, Route119_Text_RachelIntro, Route119_Text_RachelDefeat
msgbox Route119_Text_29E5CB, MSGBOX_AUTOCLOSE msgbox Route119_Text_RachelPostBattle, MSGBOX_AUTOCLOSE
end end
Route119_EventScript_1F49A3:: @ 81F49A3 Route119_EventScript_BridgeAquaGrunt1:: @ 81F49A3
lock lock
faceplayer faceplayer
msgbox Route119_Text_1F50EB, MSGBOX_DEFAULT msgbox Route119_Text_StayAwayFromWeatherInstitute, MSGBOX_DEFAULT
closemessage closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0 waitmovement 0
release release
end end
Route119_EventScript_1F49BA:: @ 81F49BA Route119_EventScript_BridgeAquaGrunt2:: @ 81F49BA
lock lock
faceplayer faceplayer
msgbox Route119_Text_1F5147, MSGBOX_DEFAULT msgbox Route119_Text_DontGoNearWeatherInstitute, MSGBOX_DEFAULT
closemessage closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0 waitmovement 0
release release
end end
Route119_EventScript_1F49D1:: @ 81F49D1 Route119_EventScript_Boy1:: @ 81F49D1
msgbox Route119_Text_1F51A2, MSGBOX_NPC msgbox Route119_Text_ThoughtFlyByCatchingBirdMons, MSGBOX_NPC
end end
Route119_EventScript_1F49DA:: @ 81F49DA Route119_EventScript_Boy2:: @ 81F49DA
msgbox Route119_Text_1F52B9, MSGBOX_NPC msgbox Route119_Text_CanYourMonMakeSecretBase, MSGBOX_NPC
end end
Route119_EventScript_1F49E3:: @ 81F49E3 Route119_EventScript_TrainerTipsDecoration:: @ 81F49E3
msgbox Route119_Text_1F5339, MSGBOX_SIGN msgbox Route119_Text_TrainerTipsDecoration, MSGBOX_SIGN
end end
Route119_EventScript_1F49EC:: @ 81F49EC Route119_EventScript_ScottWonAtFortreeGymCall:: @ 81F49EC
lockall lockall
pokenavcall Route119_Text_1F4FBA pokenavcall Route119_Text_ScottYouWonAtFortreeGym
waitmessage waitmessage
clearflag FLAG_REGISTER_WINONA_POKENAV clearflag FLAG_SCOTT_CALL_FORTREE_GYM
addvar VAR_SCOTT_STATE, 1 addvar VAR_SCOTT_STATE, 1
releaseall releaseall
end end
Route119_Text_1F49FD: @ 81F49FD Route119_Text_MayIntro: @ 81F49FD
.string "MAY: {PLAYER}{KUN}!\n" .string "MAY: {PLAYER}{KUN}!\n"
.string "Where were you? I was looking for you!\p" .string "Where were you? I was looking for you!\p"
.string "How much stronger have you gotten?\n" .string "How much stronger have you gotten?\n"
@@ -503,18 +503,18 @@ Route119_Text_1F49FD: @ 81F49FD
.string "Ready with your POKéMON?\n" .string "Ready with your POKéMON?\n"
.string "Of course you are! Go!$" .string "Of course you are! Go!$"
Route119_Text_1F4A98: @ 81F4A98 Route119_Text_MayDefeat: @ 81F4A98
.string "Achah!\n" .string "Achah!\n"
.string "{PLAYER}{KUN}, you're strong!\p" .string "{PLAYER}{KUN}, you're strong!\p"
.string "I was worried that you might be\n" .string "I was worried that you might be\n"
.string "struggling with your training.$" .string "struggling with your training.$"
Route119_Text_1F4AF3: @ 81F4AF3 Route119_Text_MayPresentForYou: @ 81F4AF3
.string "MAY: But I had absolutely nothing to\n" .string "MAY: But I had absolutely nothing to\n"
.string "worry about! Keep it up!\p" .string "worry about! Keep it up!\p"
.string "And, here! I have a present for you.$" .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 "MAY: Use FLY, and your POKéMON will\n"
.string "instantly carry you to any town you've\l" .string "instantly carry you to any town you've\l"
.string "already visited.\p" .string "already visited.\p"
@@ -527,7 +527,7 @@ Route119_Text_1F4B56: @ 81F4B56
.string "{PLAYER}{KUN}.\p" .string "{PLAYER}{KUN}.\p"
.string "Well, let's meet again somewhere!$" .string "Well, let's meet again somewhere!$"
Route119_Text_1F4C9A: @ 81F4C9A Route119_Text_BrendanIntro: @ 81F4C9A
.string "BRENDAN: {PLAYER}! So this is where\n" .string "BRENDAN: {PLAYER}! So this is where\n"
.string "you've been looking for POKéMON?\p" .string "you've been looking for POKéMON?\p"
.string "Let me see how good you got.\n" .string "Let me see how good you got.\n"
@@ -535,17 +535,17 @@ Route119_Text_1F4C9A: @ 81F4C9A
.string "Now!\n" .string "Now!\n"
.string "It's a battle, so battle!$" .string "It's a battle, so battle!$"
Route119_Text_1F4D24: @ 81F4D24 Route119_Text_BrendanDefeat: @ 81F4D24
.string "Hmm…\n" .string "Hmm…\n"
.string "You've gotten pretty darn decent.$" .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 "BRENDAN: I'd say you're good enough\n"
.string "to search for POKéMON anywhere.\p" .string "to search for POKéMON anywhere.\p"
.string "Here, I'll give you this.\n" .string "Here, I'll give you this.\n"
.string "Try it out.$" .string "Try it out.$"
Route119_Text_1F4DB5: @ 81F4DB5 Route119_Text_BrendanExplainFly: @ 81F4DB5
.string "BRENDAN: Use FLY, and your POKéMON\n" .string "BRENDAN: Use FLY, and your POKéMON\n"
.string "instantly carries you to any town\l" .string "instantly carries you to any town\l"
.string "you've already visited.\p" .string "you've already visited.\p"
@@ -553,7 +553,7 @@ Route119_Text_1F4DB5: @ 81F4DB5
.string "to do that.\p" .string "to do that.\p"
.string "Anyway, I have to move along.$" .string "Anyway, I have to move along.$"
Route119_Text_1F4E60: @ 81F4E60 Route119_Text_ScottWayToGoBeSeeingYou: @ 81F4E60
.string "SCOTT: Hahahah!\n" .string "SCOTT: Hahahah!\n"
.string "Way to go, {PLAYER}{KUN}!\p" .string "Way to go, {PLAYER}{KUN}!\p"
.string "I just passed by a TRAINER riding\n" .string "I just passed by a TRAINER riding\n"
@@ -568,7 +568,7 @@ Route119_Text_1F4E60: @ 81F4E60
.string "Well, I'll be seeing you!$" .string "Well, I'll be seeing you!$"
Route119_Text_1F4FBA: @ 81F4FBA Route119_Text_ScottYouWonAtFortreeGym: @ 81F4FBA
.string "… … … … … …\n" .string "… … … … … …\n"
.string "… … … … … Beep!\p" .string "… … … … … Beep!\p"
.string "SCOTT: Hiya, {PLAYER}{KUN}, it's me!\p" .string "SCOTT: Hiya, {PLAYER}{KUN}, it's me!\p"
@@ -583,17 +583,17 @@ Route119_Text_1F4FBA: @ 81F4FBA
.string "… … … … … …\n" .string "… … … … … …\n"
.string "… … … … … Click!$" .string "… … … … … Click!$"
Route119_Text_1F50EB: @ 81F50EB Route119_Text_StayAwayFromWeatherInstitute: @ 81F50EB
.string "We're standing lookout here.\p" .string "We're standing lookout here.\p"
.string "Hey, you! Stay away from the WEATHER\n" .string "Hey, you! Stay away from the WEATHER\n"
.string "INSTITUTE. It's not safe.$" .string "INSTITUTE. It's not safe.$"
Route119_Text_1F5147: @ 81F5147 Route119_Text_DontGoNearWeatherInstitute: @ 81F5147
.string "Lookout duty is surprisingly boring.\p" .string "Lookout duty is surprisingly boring.\p"
.string "Hey, you! Please don't go near the\n" .string "Hey, you! Please don't go near the\n"
.string "WEATHER INSTITUTE.$" .string "WEATHER INSTITUTE.$"
Route119_Text_1F51A2: @ 81F51A2 Route119_Text_ThoughtFlyByCatchingBirdMons: @ 81F51A2
.string "I thought you FLY by catching a whole\n" .string "I thought you FLY by catching a whole\n"
.string "flock of BIRD POKéMON, and then\l" .string "flock of BIRD POKéMON, and then\l"
.string "hanging on to them somehow.\p" .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 "I wish I'd known about that a long\n"
.string "time ago…$" .string "time ago…$"
Route119_Text_1F5261: @ 81F5261 Route119_Text_TallGrassSnaresBikeTires: @ 81F5261
.string "Tch…\n" .string "Tch…\n"
.string "It's a no-go…\p" .string "It's a no-go…\p"
.string "The tall grass snares BIKE tires.\n" .string "The tall grass snares BIKE tires.\n"
.string "There's no way you can cycle here.$" .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 "Can your POKéMON use its SECRET POWER\n"
.string "on a big pile of grass and make a\l" .string "on a big pile of grass and make a\l"
.string "SECRET BASE?$" .string "SECRET BASE?$"
Route119_Text_1F530E: @ 81F530E Route119_Text_RouteSignFortree: @ 81F530E
.string "ROUTE 119\n" .string "ROUTE 119\n"
.string "{RIGHT_ARROW} FORTREE CITY$" .string "{RIGHT_ARROW} FORTREE CITY$"
Route119_Text_1F5327: @ 81F5327 Route119_Text_WeatherInstitute: @ 81F5327
.string "WEATHER INSTITUTE$" .string "WEATHER INSTITUTE$"
Route119_Text_1F5339: @ 81F5339 Route119_Text_TrainerTipsDecoration: @ 81F5339
.string "TRAINER TIPS\p" .string "TRAINER TIPS\p"
.string "Up to sixteen decorations and\n" .string "Up to sixteen decorations and\n"
.string "furniture items can be placed in\l" .string "furniture items can be placed in\l"
+16 -16
View File
@@ -165,7 +165,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F57D7", "script": "Route120_EventScript_Colin",
"flag": "0" "flag": "0"
}, },
{ {
@@ -178,7 +178,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F57EE", "script": "Route120_EventScript_Robert",
"flag": "0" "flag": "0"
}, },
{ {
@@ -191,7 +191,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7", "trainer_sight_or_berry_tree_id": "7",
"script": "Route120_EventScript_1F5850", "script": "Route120_EventScript_Lorenzo",
"flag": "0" "flag": "0"
}, },
{ {
@@ -204,7 +204,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2", "trainer_sight_or_berry_tree_id": "2",
"script": "Route120_EventScript_1F5867", "script": "Route120_EventScript_Jenna",
"flag": "0" "flag": "0"
}, },
{ {
@@ -217,7 +217,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F587E", "script": "Route120_EventScript_Jeffrey",
"flag": "0" "flag": "0"
}, },
{ {
@@ -321,7 +321,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route120_EventScript_1F5527", "script": "Route120_EventScript_BerryBeauty",
"flag": "0" "flag": "0"
}, },
{ {
@@ -334,7 +334,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route120_EventScript_1F58E0", "script": "Route120_EventScript_Jennifer",
"flag": "0" "flag": "0"
}, },
{ {
@@ -347,7 +347,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route120_EventScript_1F58F7", "script": "Route120_EventScript_Chip",
"flag": "0" "flag": "0"
}, },
{ {
@@ -360,7 +360,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route120_EventScript_1F590E", "script": "Route120_EventScript_Clarissa",
"flag": "0" "flag": "0"
}, },
{ {
@@ -373,7 +373,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F5925", "script": "Route120_EventScript_Angelica",
"flag": "0" "flag": "0"
}, },
{ {
@@ -464,7 +464,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F593C", "script": "Route120_EventScript_Keigo",
"flag": "0" "flag": "0"
}, },
{ {
@@ -477,7 +477,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F5953", "script": "Route120_EventScript_Riley",
"flag": "0" "flag": "0"
}, },
{ {
@@ -568,7 +568,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F5981", "script": "Route120_EventScript_Callie",
"flag": "0" "flag": "0"
}, },
{ {
@@ -581,7 +581,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route120_EventScript_1F596A", "script": "Route120_EventScript_Leonel",
"flag": "0" "flag": "0"
}, },
{ {
@@ -756,7 +756,7 @@
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route120_EventScript_1F57C5" "script": "Route120_EventScript_RouteSignFortree"
}, },
{ {
"type": "sign", "type": "sign",
@@ -764,7 +764,7 @@
"y": 88, "y": 88,
"elevation": 3, "elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route120_EventScript_1F57CE" "script": "Route120_EventScript_RouteSign121"
}, },
{ {
"type": "secret_base", "type": "secret_base",
+118 -118
View File
@@ -39,137 +39,137 @@ Route120_EventScript_RemoveKecleon:: @ 81F5460
return return
Route120_OnLoad: @ 81F5474 Route120_OnLoad: @ 81F5474
call_if_unset FLAG_REGI_DOORS_OPENED, Route120_EventScript_1F5490 call_if_unset FLAG_REGI_DOORS_OPENED, Route120_EventScript_CloseAncientTomb
call_if_set FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_1F54A3 call_if_set FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_SetBridgeClearMetatiles
call_if_unset FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_1F54C8 call_if_unset FLAG_RECEIVED_DEVON_SCOPE, Route120_EventScript_SetBridgeKecleonMovement
end end
Route120_EventScript_1F5490:: @ 81F5490 Route120_EventScript_CloseAncientTomb:: @ 81F5490
setmetatile 7, 54, METATILE_General_RockWall_RockBase, 1 setmetatile 7, 54, METATILE_General_RockWall_RockBase, 1
setmetatile 7, 55, METATILE_General_RockWall_SandBase, 1 setmetatile 7, 55, METATILE_General_RockWall_SandBase, 1
return return
Route120_EventScript_1F54A3:: @ 81F54A3 Route120_EventScript_SetBridgeClearMetatiles:: @ 81F54A3
setmetatile 13, 15, METATILE_Fortree_WoodBridge_Kecleon0, 0 setmetatile 13, 15, METATILE_Fortree_WoodBridge1_Top, 0
setmetatile 12, 16, METATILE_Fortree_WoodBridge_Kecleon1, 0 setmetatile 12, 16, METATILE_Fortree_WoodBridge1_Bottom, 0
setmetatile 12, 17, METATILE_General_ReflectiveWater, 0 setmetatile 12, 17, METATILE_General_ReflectiveWater, 0
setmetatile 13, 17, METATILE_General_ReflectiveWater, 0 setmetatile 13, 17, METATILE_General_ReflectiveWater, 0
return return
Route120_EventScript_1F54C8:: @ 81F54C8 Route120_EventScript_SetBridgeKecleonMovement:: @ 81F54C8
setobjectmovementtype 36, MOVEMENT_TYPE_FACE_RIGHT setobjectmovementtype 36, MOVEMENT_TYPE_FACE_RIGHT
return return
Route120_OnTransition: @ 81F54CD Route120_OnTransition: @ 81F54CD
call GabbyAndTy_EventScript_UpdateLocation call GabbyAndTy_EventScript_UpdateLocation
call Route120_EventScript_1F54D8 call Route120_EventScript_SetWeather
end end
Route120_EventScript_1F54D8:: @ 81F54D8 Route120_EventScript_SetWeather:: @ 81F54D8
getplayerxy VAR_TEMP_0, VAR_TEMP_1 getplayerxy VAR_TEMP_0, VAR_TEMP_1
compare VAR_TEMP_1, 14 compare VAR_TEMP_1, 14
goto_if_le Route120_EventScript_1F5503 goto_if_le Route120_EventScript_SetSunnyWeather
compare VAR_TEMP_1, 60 compare VAR_TEMP_1, 60
goto_if_le Route120_EventScript_1F5507 goto_if_le Route120_EventScript_TrySetRainyWeather
compare VAR_TEMP_1, 61 compare VAR_TEMP_1, 61
goto_if_ge Route120_EventScript_1F54FF goto_if_ge Route120_EventScript_SetCloudyWeather
return return
Route120_EventScript_1F54FF:: @ 81F54FF Route120_EventScript_SetCloudyWeather:: @ 81F54FF
setweather WEATHER_CLOUDS setweather WEATHER_CLOUDS
return return
Route120_EventScript_1F5503:: @ 81F5503 Route120_EventScript_SetSunnyWeather:: @ 81F5503
setweather WEATHER_SUNNY setweather WEATHER_SUNNY
return return
Route120_EventScript_1F5507:: @ 81F5507 Route120_EventScript_TrySetRainyWeather:: @ 81F5507
compare VAR_TEMP_0, 7 compare VAR_TEMP_0, 7
goto_if_le Route120_EventScript_1F5523 goto_if_le Route120_EventScript_SetRainyWeather
compare VAR_TEMP_0, 19 compare VAR_TEMP_0, 19
goto_if_le Route120_EventScript_1F5503 goto_if_le Route120_EventScript_SetSunnyWeather
goto Route120_EventScript_1F5523 goto Route120_EventScript_SetRainyWeather
end end
Route120_EventScript_1F5523:: @ 81F5523 Route120_EventScript_SetRainyWeather:: @ 81F5523
setweather WEATHER_RAIN_LIGHT setweather WEATHER_RAIN_LIGHT
return return
Route120_EventScript_1F5527:: @ 81F5527 Route120_EventScript_BerryBeauty:: @ 81F5527
lock lock
faceplayer faceplayer
dotimebasedevents dotimebasedevents
goto_if_set FLAG_DAILY_ROUTE_120_RECEIVED_BERRY, Route120_EventScript_1F5625 goto_if_set FLAG_DAILY_ROUTE_120_RECEIVED_BERRY, Route120_EventScript_ReceivedBerry
msgbox Route120_Text_2A70C7, MSGBOX_YESNO msgbox Route120_Text_BerriesExpressionOfLoveIsntIt, MSGBOX_YESNO
compare VAR_RESULT, YES compare VAR_RESULT, YES
call_if_eq Route120_EventScript_1F562F call_if_eq Route120_EventScript_BerryLove
compare VAR_RESULT, NO compare VAR_RESULT, NO
call_if_eq Route120_EventScript_1F5638 call_if_eq Route120_EventScript_BerryNotLove
specialvar VAR_RESULT, GetPlayerTrainerIdOnesDigit specialvar VAR_RESULT, GetPlayerTrainerIdOnesDigit
switch VAR_RESULT switch VAR_RESULT
case 0, Route120_EventScript_1F55CA case 0, Route120_EventScript_GiveFigyBerry
case 5, Route120_EventScript_1F55CA case 5, Route120_EventScript_GiveFigyBerry
case 1, Route120_EventScript_1F55D5 case 1, Route120_EventScript_GiveWikiBerry
case 6, Route120_EventScript_1F55D5 case 6, Route120_EventScript_GiveWikiBerry
case 2, Route120_EventScript_1F55E0 case 2, Route120_EventScript_GiveMagoBerry
case 7, Route120_EventScript_1F55E0 case 7, Route120_EventScript_GiveMagoBerry
case 3, Route120_EventScript_1F55EB case 3, Route120_EventScript_GiveAguavBerry
case 8, Route120_EventScript_1F55EB case 8, Route120_EventScript_GiveAguavBerry
case 4, Route120_EventScript_1F55F6 case 4, Route120_EventScript_GiveIapapaBerry
case 9, Route120_EventScript_1F55F6 case 9, Route120_EventScript_GiveIapapaBerry
end end
Route120_EventScript_1F55CA:: @ 81F55CA Route120_EventScript_GiveFigyBerry:: @ 81F55CA
setvar VAR_0x8004, ITEM_FIGY_BERRY setvar VAR_0x8004, ITEM_FIGY_BERRY
goto Route120_EventScript_1F5601 goto Route120_EventScript_GiveBerry
end end
Route120_EventScript_1F55D5:: @ 81F55D5 Route120_EventScript_GiveWikiBerry:: @ 81F55D5
setvar VAR_0x8004, ITEM_WIKI_BERRY setvar VAR_0x8004, ITEM_WIKI_BERRY
goto Route120_EventScript_1F5601 goto Route120_EventScript_GiveBerry
end end
Route120_EventScript_1F55E0:: @ 81F55E0 Route120_EventScript_GiveMagoBerry:: @ 81F55E0
setvar VAR_0x8004, ITEM_MAGO_BERRY setvar VAR_0x8004, ITEM_MAGO_BERRY
goto Route120_EventScript_1F5601 goto Route120_EventScript_GiveBerry
end end
Route120_EventScript_1F55EB:: @ 81F55EB Route120_EventScript_GiveAguavBerry:: @ 81F55EB
setvar VAR_0x8004, ITEM_AGUAV_BERRY setvar VAR_0x8004, ITEM_AGUAV_BERRY
goto Route120_EventScript_1F5601 goto Route120_EventScript_GiveBerry
end end
Route120_EventScript_1F55F6:: @ 81F55F6 Route120_EventScript_GiveIapapaBerry:: @ 81F55F6
setvar VAR_0x8004, ITEM_IAPAPA_BERRY setvar VAR_0x8004, ITEM_IAPAPA_BERRY
goto Route120_EventScript_1F5601 goto Route120_EventScript_GiveBerry
end end
Route120_EventScript_1F5601:: @ 81F5601 Route120_EventScript_GiveBerry:: @ 81F5601
giveitem_std VAR_0x8004 giveitem_std VAR_0x8004
compare VAR_RESULT, 0 compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_DAILY_ROUTE_120_RECEIVED_BERRY setflag FLAG_DAILY_ROUTE_120_RECEIVED_BERRY
msgbox Route120_Text_2A71D5, MSGBOX_DEFAULT msgbox Route120_Text_BerryIsRareRaiseItWithCare, MSGBOX_DEFAULT
release release
end end
Route120_EventScript_1F5625:: @ 81F5625 Route120_EventScript_ReceivedBerry:: @ 81F5625
msgbox Route120_Text_2A7217, MSGBOX_DEFAULT msgbox Route120_Text_IllGetMoreBerriesFromBerryMaster, MSGBOX_DEFAULT
release release
end end
Route120_EventScript_1F562F:: @ 81F562F Route120_EventScript_BerryLove:: @ 81F562F
msgbox Route120_Text_2A7147, MSGBOX_DEFAULT msgbox Route120_Text_YesYouUnderstand, MSGBOX_DEFAULT
return return
Route120_EventScript_1F5638:: @ 81F5638 Route120_EventScript_BerryNotLove:: @ 81F5638
msgbox Route120_Text_2A7183, MSGBOX_DEFAULT msgbox Route120_Text_MakeYourOwnImpressions, MSGBOX_DEFAULT
return return
Route120_EventScript_Steven:: @ 81F5641 Route120_EventScript_Steven:: @ 81F5641
lock lock
faceplayer 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 msgbox Route120_Text_StevenGreeting, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq Route120_EventScript_StevenNotReady goto_if_eq Route120_EventScript_StevenNotReady
@@ -177,12 +177,12 @@ Route120_EventScript_Steven:: @ 81F5641
end end
Route120_EventScript_StevenNotReady:: @ 81F5665 Route120_EventScript_StevenNotReady:: @ 81F5665
msgbox Route120_Text_1F5AAC, MSGBOX_DEFAULT msgbox Route120_Text_StevenIllWaitHere, MSGBOX_DEFAULT
setflag FLAG_NOT_READY_FOR_BATTLE_ROUTE_120 setflag FLAG_NOT_READY_FOR_BATTLE_ROUTE_120
release release
end end
Route120_EventScript_1F5672:: @ 81F5672 Route120_EventScript_StevenAskReadyForBattle:: @ 81F5672
msgbox Route120_Text_StevenReadyForBattle, MSGBOX_YESNO msgbox Route120_Text_StevenReadyForBattle, MSGBOX_YESNO
compare VAR_RESULT, NO compare VAR_RESULT, NO
goto_if_eq Route120_EventScript_StevenNotReady goto_if_eq Route120_EventScript_StevenNotReady
@@ -249,8 +249,8 @@ Route120_EventScript_StevenGiveDeconScope:: @ 81F572C
delay 15 delay 15
removeobject 31 removeobject 31
waitfieldeffect FLDEFF_NPCFLY_OUT waitfieldeffect FLDEFF_NPCFLY_OUT
setmetatile 13, 15, METATILE_Fortree_WoodBridge_Kecleon0, 0 setmetatile 13, 15, METATILE_Fortree_WoodBridge1_Top, 0
setmetatile 12, 16, METATILE_Fortree_WoodBridge_Kecleon1, 0 setmetatile 12, 16, METATILE_Fortree_WoodBridge1_Bottom, 0
setmetatile 12, 17, METATILE_General_ReflectiveWater, 0 setmetatile 12, 17, METATILE_General_ReflectiveWater, 0
setmetatile 13, 17, METATILE_General_ReflectiveWater, 0 setmetatile 13, 17, METATILE_General_ReflectiveWater, 0
special DrawWholeMapView special DrawWholeMapView
@@ -276,111 +276,111 @@ Route120_EventScript_InvisibleBridgeKecleon:: @ 81F57BC
msgbox Kecleon_Text_SomethingUnseeable, MSGBOX_NPC msgbox Kecleon_Text_SomethingUnseeable, MSGBOX_NPC
end end
Route120_EventScript_1F57C5:: @ 81F57C5 Route120_EventScript_RouteSignFortree:: @ 81F57C5
msgbox Route120_Text_1F5DCB, MSGBOX_SIGN msgbox Route120_Text_RouteSignFortree, MSGBOX_SIGN
end end
Route120_EventScript_1F57CE:: @ 81F57CE Route120_EventScript_RouteSign121:: @ 81F57CE
msgbox Route120_Text_1F5DE4, MSGBOX_SIGN msgbox Route120_Text_RouteSign121, MSGBOX_SIGN
end end
Route120_EventScript_1F57D7:: @ 81F57D7 Route120_EventScript_Colin:: @ 81F57D7
trainerbattle_single TRAINER_COLIN, Route120_Text_29E62D, Route120_Text_29E665 trainerbattle_single TRAINER_COLIN, Route120_Text_ColinIntro, Route120_Text_ColinDefeat
msgbox Route120_Text_29E67A, MSGBOX_AUTOCLOSE msgbox Route120_Text_ColinPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F57EE:: @ 81F57EE Route120_EventScript_Robert:: @ 81F57EE
trainerbattle_single TRAINER_ROBERT_1, Route120_Text_29E6E3, Route120_Text_29E70A, Route120_EventScript_1F581A trainerbattle_single TRAINER_ROBERT_1, Route120_Text_RobertIntro, Route120_Text_RobertDefeat, Route120_EventScript_RegisterRobert
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route120_EventScript_1F5839 goto_if_eq Route120_EventScript_RematchRobert
msgbox Route120_Text_29E726, MSGBOX_DEFAULT msgbox Route120_Text_RobertPostBattle, MSGBOX_DEFAULT
release release
end end
Route120_EventScript_1F581A:: @ 81F581A Route120_EventScript_RegisterRobert:: @ 81F581A
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route120_Text_29E75D, MSGBOX_DEFAULT msgbox Route120_Text_RobertRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ROBERT_1 register_matchcall TRAINER_ROBERT_1
release release
end end
Route120_EventScript_1F5839:: @ 81F5839 Route120_EventScript_RematchRobert:: @ 81F5839
trainerbattle_rematch TRAINER_ROBERT_1, Route120_Text_29E7AA, Route120_Text_29E7E1 trainerbattle_rematch TRAINER_ROBERT_1, Route120_Text_RobertRematchIntro, Route120_Text_RobertRematchDefeat
msgbox Route120_Text_29E804, MSGBOX_AUTOCLOSE msgbox Route120_Text_RobertPostRematch, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F5850:: @ 81F5850 Route120_EventScript_Lorenzo:: @ 81F5850
trainerbattle_single TRAINER_LORENZO, Route120_Text_29E843, Route120_Text_29E884 trainerbattle_single TRAINER_LORENZO, Route120_Text_LorenzoIntro, Route120_Text_LorenzoDefeat
msgbox Route120_Text_29E8C5, MSGBOX_AUTOCLOSE msgbox Route120_Text_LorenzoPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F5867:: @ 81F5867 Route120_EventScript_Jenna:: @ 81F5867
trainerbattle_single TRAINER_JENNA, Route120_Text_29E91C, Route120_Text_29E980 trainerbattle_single TRAINER_JENNA, Route120_Text_JennaIntro, Route120_Text_JennaDefeat
msgbox Route120_Text_29E996, MSGBOX_AUTOCLOSE msgbox Route120_Text_JennaPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F587E:: @ 81F587E Route120_EventScript_Jeffrey:: @ 81F587E
trainerbattle_single TRAINER_JEFFREY_1, Route120_Text_29E9D7, Route120_Text_29E9FF, Route120_EventScript_1F58AA trainerbattle_single TRAINER_JEFFREY_1, Route120_Text_JeffreyIntro, Route120_Text_JeffreyDefeat, Route120_EventScript_RegisterJeffrey
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route120_EventScript_1F58C9 goto_if_eq Route120_EventScript_RematchJeffrey
msgbox Route120_Text_29EA08, MSGBOX_DEFAULT msgbox Route120_Text_JeffreyPostBattle, MSGBOX_DEFAULT
release release
end end
Route120_EventScript_1F58AA:: @ 81F58AA Route120_EventScript_RegisterJeffrey:: @ 81F58AA
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route120_Text_29EA31, MSGBOX_DEFAULT msgbox Route120_Text_JeffreyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JEFFREY_1 register_matchcall TRAINER_JEFFREY_1
release release
end end
Route120_EventScript_1F58C9:: @ 81F58C9 Route120_EventScript_RematchJeffrey:: @ 81F58C9
trainerbattle_rematch TRAINER_JEFFREY_1, Route120_Text_29EA61, Route120_Text_29EA8F trainerbattle_rematch TRAINER_JEFFREY_1, Route120_Text_JeffreyRematchIntro, Route120_Text_JeffreyRematchDefeat
msgbox Route120_Text_29EAA9, MSGBOX_AUTOCLOSE msgbox Route120_Text_JeffreyPostRematch, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F58E0:: @ 81F58E0 Route120_EventScript_Jennifer:: @ 81F58E0
trainerbattle_single TRAINER_JENNIFER, Route120_Text_29EAEF, Route120_Text_29EB53 trainerbattle_single TRAINER_JENNIFER, Route120_Text_JenniferIntro, Route120_Text_JenniferDefeat
msgbox Route120_Text_29EB6E, MSGBOX_AUTOCLOSE msgbox Route120_Text_JenniferPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F58F7:: @ 81F58F7 Route120_EventScript_Chip:: @ 81F58F7
trainerbattle_single TRAINER_CHIP, Route120_Text_29EBAF, Route120_Text_29EC25 trainerbattle_single TRAINER_CHIP, Route120_Text_ChipIntro, Route120_Text_ChipDefeat
msgbox Route120_Text_29EC41, MSGBOX_AUTOCLOSE msgbox Route120_Text_ChipPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F590E:: @ 81F590E Route120_EventScript_Clarissa:: @ 81F590E
trainerbattle_single TRAINER_CLARISSA, Route120_Text_29ECA6, Route120_Text_29ECEF trainerbattle_single TRAINER_CLARISSA, Route120_Text_ClarissaIntro, Route120_Text_ClarissaDefeat
msgbox Route120_Text_29ED19, MSGBOX_AUTOCLOSE msgbox Route120_Text_ClarissaPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F5925:: @ 81F5925 Route120_EventScript_Angelica:: @ 81F5925
trainerbattle_single TRAINER_ANGELICA, Route120_Text_29ED71, Route120_Text_29EDD3 trainerbattle_single TRAINER_ANGELICA, Route120_Text_AngelicaIntro, Route120_Text_AngelicaDefeat
msgbox Route120_Text_29EDF7, MSGBOX_AUTOCLOSE msgbox Route120_Text_AngelicaPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F593C:: @ 81F593C Route120_EventScript_Keigo:: @ 81F593C
trainerbattle_single TRAINER_KEIGO, Route120_Text_29EE50, Route120_Text_29EE97 trainerbattle_single TRAINER_KEIGO, Route120_Text_KeigoIntro, Route120_Text_KeigoDefeat
msgbox Route120_Text_29EED4, MSGBOX_AUTOCLOSE msgbox Route120_Text_KeigoPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F5953:: @ 81F5953 Route120_EventScript_Riley:: @ 81F5953
trainerbattle_single TRAINER_RILEY, Route120_Text_29EF08, Route120_Text_29EF63 trainerbattle_single TRAINER_RILEY, Route120_Text_RileyIntro, Route120_Text_RileyDefeat
msgbox Route120_Text_29EF89, MSGBOX_AUTOCLOSE msgbox Route120_Text_RileyPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F596A:: @ 81F596A Route120_EventScript_Leonel:: @ 81F596A
trainerbattle_single TRAINER_LEONEL, Route120_Text_29F04F, Route120_Text_29F080 trainerbattle_single TRAINER_LEONEL, Route120_Text_LeonelIntro, Route120_Text_LeonelDefeat
msgbox Route120_Text_29F0A1, MSGBOX_AUTOCLOSE msgbox Route120_Text_LeonelPostBattle, MSGBOX_AUTOCLOSE
end end
Route120_EventScript_1F5981:: @ 81F5981 Route120_EventScript_Callie:: @ 81F5981
trainerbattle_single TRAINER_CALLIE, Route120_Text_29EFB1, Route120_Text_29EFE1 trainerbattle_single TRAINER_CALLIE, Route120_Text_CallieIntro, Route120_Text_CallieDefeat
msgbox Route120_Text_29F002, MSGBOX_AUTOCLOSE msgbox Route120_Text_CalliePostBattle, MSGBOX_AUTOCLOSE
end end
Route120_Text_StevenGreeting: @ 81F5998 Route120_Text_StevenGreeting: @ 81F5998
@@ -396,7 +396,7 @@ Route120_Text_StevenGreeting: @ 81F5998
.string "{PLAYER}{KUN}, are your POKéMON ready for\n" .string "{PLAYER}{KUN}, are your POKéMON ready for\n"
.string "battle?$" .string "battle?$"
Route120_Text_1F5AAC: @ 81F5AAC Route120_Text_StevenIllWaitHere: @ 81F5AAC
.string "STEVEN: No?\p" .string "STEVEN: No?\p"
.string "I'll wait here, so you can get ready.$" .string "I'll wait here, so you can get ready.$"
@@ -444,10 +444,10 @@ Kecleon_Text_UseDevonScopeMonAttacked: @ 81F5D63
.string "visible!\p" .string "visible!\p"
.string "The startled POKéMON attacked!$" .string "The startled POKéMON attacked!$"
Route120_Text_1F5DCB: @ 81F5DCB Route120_Text_RouteSignFortree: @ 81F5DCB
.string "ROUTE 120\n" .string "ROUTE 120\n"
.string "{LEFT_ARROW} FORTREE CITY$" .string "{LEFT_ARROW} FORTREE CITY$"
Route120_Text_1F5DE4: @ 81F5DE4 Route120_Text_RouteSign121: @ 81F5DE4
.string "{RIGHT_ARROW} ROUTE 121\n" .string "{RIGHT_ARROW} ROUTE 121\n"
.string "{LEFT_ARROW} ROUTE 120$" .string "{LEFT_ARROW} ROUTE 120$"
+18 -18
View File
@@ -40,7 +40,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_1F5DFD", "script": "Route121_EventScript_Woman",
"flag": "0" "flag": "0"
}, },
{ {
@@ -157,7 +157,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route121_EventScript_1F5F04", "script": "Route121_EventScript_Kate",
"flag": "0" "flag": "0"
}, },
{ {
@@ -170,7 +170,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route121_EventScript_1F5F1F", "script": "Route121_EventScript_Joy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -248,7 +248,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5E74", "script": "Route121_EventScript_Vanessa",
"flag": "0" "flag": "0"
}, },
{ {
@@ -261,7 +261,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route121_EventScript_1F5E8B", "script": "Route121_EventScript_Walter",
"flag": "0" "flag": "0"
}, },
{ {
@@ -274,7 +274,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5EED", "script": "Route121_EventScript_Tammy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -287,7 +287,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5F3A", "script": "Route121_EventScript_Jessica",
"flag": "0" "flag": "0"
}, },
{ {
@@ -326,7 +326,7 @@
"movement_range_y": 4, "movement_range_y": 4,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route121_EventScript_1F5F9C", "script": "Route121_EventScript_Cale",
"flag": "0" "flag": "0"
}, },
{ {
@@ -339,7 +339,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5FB3", "script": "Route121_EventScript_Myles",
"flag": "0" "flag": "0"
}, },
{ {
@@ -352,7 +352,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_1F5FCA", "script": "Route121_EventScript_Pat",
"flag": "0" "flag": "0"
}, },
{ {
@@ -365,7 +365,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6", "trainer_sight_or_berry_tree_id": "6",
"script": "Route121_EventScript_1F5FE1", "script": "Route121_EventScript_Marcel",
"flag": "0" "flag": "0"
}, },
{ {
@@ -378,7 +378,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "6", "trainer_sight_or_berry_tree_id": "6",
"script": "Route121_EventScript_1F5FF8", "script": "Route121_EventScript_Cristin",
"flag": "0" "flag": "0"
}, },
{ {
@@ -425,7 +425,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_ROUTE121_STATE", "var": "VAR_ROUTE121_STATE",
"var_value": "0", "var_value": "0",
"script": "Route121_EventScript_1F5E18" "script": "Route121_EventScript_AquaGruntsMoveOut"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -434,7 +434,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_ROUTE121_STATE", "var": "VAR_ROUTE121_STATE",
"var_value": "0", "var_value": "0",
"script": "Route121_EventScript_1F5E18" "script": "Route121_EventScript_AquaGruntsMoveOut"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -443,7 +443,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_ROUTE121_STATE", "var": "VAR_ROUTE121_STATE",
"var_value": "0", "var_value": "0",
"script": "Route121_EventScript_1F5E18" "script": "Route121_EventScript_AquaGruntsMoveOut"
}, },
{ {
"type": "trigger", "type": "trigger",
@@ -452,7 +452,7 @@
"elevation": 3, "elevation": 3,
"var": "VAR_ROUTE121_STATE", "var": "VAR_ROUTE121_STATE",
"var_value": "0", "var_value": "0",
"script": "Route121_EventScript_1F5E18" "script": "Route121_EventScript_AquaGruntsMoveOut"
} }
], ],
"bg_events": [ "bg_events": [
@@ -462,7 +462,7 @@
"y": 14, "y": 14,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route121_EventScript_1F5E06" "script": "Route121_EventScript_MtPyrePierSign"
}, },
{ {
"type": "secret_base", "type": "secret_base",
@@ -498,7 +498,7 @@
"y": 6, "y": 6,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route121_EventScript_1F5E0F" "script": "Route121_EventScript_SafariZoneSign"
}, },
{ {
"type": "hidden_item", "type": "hidden_item",
+72 -72
View File
@@ -1,28 +1,28 @@
Route121_MapScripts:: @ 81F5DFC Route121_MapScripts:: @ 81F5DFC
.byte 0 .byte 0
Route121_EventScript_1F5DFD:: @ 81F5DFD Route121_EventScript_Woman:: @ 81F5DFD
msgbox Route121_Text_1F607F, MSGBOX_NPC msgbox Route121_Text_AheadLoomsMtPyre, MSGBOX_NPC
end end
Route121_EventScript_1F5E06:: @ 81F5E06 Route121_EventScript_MtPyrePierSign:: @ 81F5E06
msgbox Route121_Text_1F60D3, MSGBOX_SIGN msgbox Route121_Text_MtPyrePierSign, MSGBOX_SIGN
end end
Route121_EventScript_1F5E0F:: @ 81F5E0F Route121_EventScript_SafariZoneSign:: @ 81F5E0F
msgbox Route121_Text_1F611E, MSGBOX_SIGN msgbox Route121_Text_SafariZoneSign, MSGBOX_SIGN
end end
Route121_EventScript_1F5E18:: @ 81F5E18 Route121_EventScript_AquaGruntsMoveOut:: @ 81F5E18
lockall lockall
playbgm MUS_AQA_0, 0 playbgm MUS_AQA_0, 0
applymovement 13, Common_Movement_WalkInPlaceRight applymovement 13, Common_Movement_WalkInPlaceRight
waitmovement 0 waitmovement 0
msgbox Route121_Text_1F605A, MSGBOX_DEFAULT msgbox Route121_Text_OkayMoveOutToMtPyre, MSGBOX_DEFAULT
closemessage closemessage
applymovement 12, Route121_Movement_1F5E59 applymovement 12, Route121_Movement_Grunt1Exit
applymovement 13, Route121_Movement_1F5E62 applymovement 13, Route121_Movement_Grunt2Exit
applymovement 14, Route121_Movement_1F5E6B applymovement 14, Route121_Movement_Grunt3Exit
waitmovement 0 waitmovement 0
fadedefaultbgm fadedefaultbgm
removeobject 12 removeobject 12
@@ -32,7 +32,7 @@ Route121_EventScript_1F5E18:: @ 81F5E18
releaseall releaseall
end end
Route121_Movement_1F5E59: @ 81F5E59 Route121_Movement_Grunt1Exit: @ 81F5E59
walk_down walk_down
walk_down walk_down
walk_down walk_down
@@ -43,7 +43,7 @@ Route121_Movement_1F5E59: @ 81F5E59
walk_down walk_down
step_end step_end
Route121_Movement_1F5E62: @ 81F5E62 Route121_Movement_Grunt2Exit: @ 81F5E62
walk_down walk_down
walk_down walk_down
walk_down walk_down
@@ -54,7 +54,7 @@ Route121_Movement_1F5E62: @ 81F5E62
walk_down walk_down
step_end step_end
Route121_Movement_1F5E6B: @ 81F5E6B Route121_Movement_Grunt3Exit: @ 81F5E6B
walk_down walk_down
walk_down walk_down
walk_down walk_down
@@ -65,127 +65,127 @@ Route121_Movement_1F5E6B: @ 81F5E6B
walk_down walk_down
step_end step_end
Route121_EventScript_1F5E74:: @ 81F5E74 Route121_EventScript_Vanessa:: @ 81F5E74
trainerbattle_single TRAINER_VANESSA, Route121_Text_29F0EC, Route121_Text_29F11F trainerbattle_single TRAINER_VANESSA, Route121_Text_VanessaIntro, Route121_Text_VanessaDefeat
msgbox Route121_Text_29F138, MSGBOX_AUTOCLOSE msgbox Route121_Text_VanessaPostBattle, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5E8B:: @ 81F5E8B Route121_EventScript_Walter:: @ 81F5E8B
trainerbattle_single TRAINER_WALTER_1, Route121_Text_29F199, Route121_Text_29F20D, Route121_EventScript_1F5EB7 trainerbattle_single TRAINER_WALTER_1, Route121_Text_WalterIntro, Route121_Text_WalterDefeat, Route121_EventScript_RegisterWalter
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route121_EventScript_1F5ED6 goto_if_eq Route121_EventScript_RematchWalter
msgbox Route121_Text_29F21E, MSGBOX_DEFAULT msgbox Route121_Text_WalterPostBattle, MSGBOX_DEFAULT
release release
end end
Route121_EventScript_1F5EB7:: @ 81F5EB7 Route121_EventScript_RegisterWalter:: @ 81F5EB7
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route121_Text_29F25B, MSGBOX_DEFAULT msgbox Route121_Text_WalterRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_WALTER_1 register_matchcall TRAINER_WALTER_1
release release
end end
Route121_EventScript_1F5ED6:: @ 81F5ED6 Route121_EventScript_RematchWalter:: @ 81F5ED6
trainerbattle_rematch TRAINER_WALTER_1, Route121_Text_29F2A6, Route121_Text_29F31A trainerbattle_rematch TRAINER_WALTER_1, Route121_Text_WalterRematchIntro, Route121_Text_WalterRematchDefeat
msgbox Route121_Text_29F32B, MSGBOX_AUTOCLOSE msgbox Route121_Text_WalterPostRematch, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5EED:: @ 81F5EED Route121_EventScript_Tammy:: @ 81F5EED
trainerbattle_single TRAINER_TAMMY, Route121_Text_29F381, Route121_Text_29F3B9 trainerbattle_single TRAINER_TAMMY, Route121_Text_TammyIntro, Route121_Text_TammyDefeat
msgbox Route121_Text_29F3C6, MSGBOX_AUTOCLOSE msgbox Route121_Text_TammyPostBattle, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5F04:: @ 81F5F04 Route121_EventScript_Kate:: @ 81F5F04
trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_29F3FB, Route121_Text_29F43F, Route121_Text_29F4C9 trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_KateIntro, Route121_Text_KateDefeat, Route121_Text_KateNotEnoughMons
msgbox Route121_Text_29F476, MSGBOX_AUTOCLOSE msgbox Route121_Text_KatePostBattle, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5F1F:: @ 81F5F1F Route121_EventScript_Joy:: @ 81F5F1F
trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_29F521, Route121_Text_29F564, Route121_Text_29F5CE trainerbattle_double TRAINER_KATE_AND_JOY, Route121_Text_JoyIntro, Route121_Text_JoyDefeat, Route121_Text_JoyNotEnoughMons
msgbox Route121_Text_29F582, MSGBOX_AUTOCLOSE msgbox Route121_Text_JoyPostBattle, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5F3A:: @ 81F5F3A Route121_EventScript_Jessica:: @ 81F5F3A
trainerbattle_single TRAINER_JESSICA_1, Route121_Text_29F612, Route121_Text_29F641, Route121_EventScript_1F5F66 trainerbattle_single TRAINER_JESSICA_1, Route121_Text_JessicaIntro, Route121_Text_JessicaDefeat, Route121_EventScript_RegisterJessica
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route121_EventScript_1F5F85 goto_if_eq Route121_EventScript_RematchJessica
msgbox Route121_Text_29F66F, MSGBOX_DEFAULT msgbox Route121_Text_JessicaPostBattle, MSGBOX_DEFAULT
release release
end end
Route121_EventScript_1F5F66:: @ 81F5F66 Route121_EventScript_RegisterJessica:: @ 81F5F66
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route121_Text_29F69F, MSGBOX_DEFAULT msgbox Route121_Text_JessicaRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JESSICA_1 register_matchcall TRAINER_JESSICA_1
release release
end end
Route121_EventScript_1F5F85:: @ 81F5F85 Route121_EventScript_RematchJessica:: @ 81F5F85
trainerbattle_rematch TRAINER_JESSICA_1, Route121_Text_29F6E4, Route121_Text_29F710 trainerbattle_rematch TRAINER_JESSICA_1, Route121_Text_JessicaRematchIntro, Route121_Text_JessicaRematchDefeat
msgbox Route121_Text_29F740, MSGBOX_AUTOCLOSE msgbox Route121_Text_JessicaPostRematch, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5F9C:: @ 81F5F9C Route121_EventScript_Cale:: @ 81F5F9C
trainerbattle_single TRAINER_CALE, Route121_Text_29F91A, Route121_Text_29F97B trainerbattle_single TRAINER_CALE, Route121_Text_CaleIntro, Route121_Text_CaleDefeat
msgbox Route121_Text_29F9AE, MSGBOX_AUTOCLOSE msgbox Route121_Text_CalePostBattle, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5FB3:: @ 81F5FB3 Route121_EventScript_Myles:: @ 81F5FB3
trainerbattle_single TRAINER_MYLES, Route121_Text_29FA1E, Route121_Text_29FA64 trainerbattle_single TRAINER_MYLES, Route121_Text_MylesIntro, Route121_Text_MylesDefeat
msgbox Route121_Text_29FA73, MSGBOX_AUTOCLOSE msgbox Route121_Text_MylesPostBattle, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5FCA:: @ 81F5FCA Route121_EventScript_Pat:: @ 81F5FCA
trainerbattle_single TRAINER_PAT, Route121_Text_29FAA7, Route121_Text_29FAD8 trainerbattle_single TRAINER_PAT, Route121_Text_PatIntro, Route121_Text_PatDefeat
msgbox Route121_Text_29FAEA, MSGBOX_AUTOCLOSE msgbox Route121_Text_PatPostBattle, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5FE1:: @ 81F5FE1 Route121_EventScript_Marcel:: @ 81F5FE1
trainerbattle_single TRAINER_MARCEL, Route121_Text_29FB35, Route121_Text_29FB8C trainerbattle_single TRAINER_MARCEL, Route121_Text_MarcelIntro, Route121_Text_MarcelDefeat
msgbox Route121_Text_29FBA8, MSGBOX_AUTOCLOSE msgbox Route121_Text_MarcelPostBattle, MSGBOX_AUTOCLOSE
end end
Route121_EventScript_1F5FF8:: @ 81F5FF8 Route121_EventScript_Cristin:: @ 81F5FF8
trainerbattle_single TRAINER_CRISTIN_1, Route121_Text_29F770, Route121_Text_29F7C1, Route121_EventScript_1F6024 trainerbattle_single TRAINER_CRISTIN_1, Route121_Text_CristinIntro, Route121_Text_CristinDefeat, Route121_EventScript_RegisterCristin
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route121_EventScript_1F6043 goto_if_eq Route121_EventScript_RematchCristin
msgbox Route121_Text_29F7D4, MSGBOX_DEFAULT msgbox Route121_Text_CristinPostBattle, MSGBOX_DEFAULT
release release
end end
Route121_EventScript_1F6024:: @ 81F6024 Route121_EventScript_RegisterCristin:: @ 81F6024
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route121_Text_29F80D, MSGBOX_DEFAULT msgbox Route121_Text_CristinRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CRISTIN_1 register_matchcall TRAINER_CRISTIN_1
release release
end end
Route121_EventScript_1F6043:: @ 81F6043 Route121_EventScript_RematchCristin:: @ 81F6043
trainerbattle_rematch TRAINER_CRISTIN_1, Route121_Text_29F855, Route121_Text_29F8A8 trainerbattle_rematch TRAINER_CRISTIN_1, Route121_Text_CristinRematchIntro, Route121_Text_CristinRematchDefeat
msgbox Route121_Text_29F8D0, MSGBOX_AUTOCLOSE msgbox Route121_Text_CristinPostRematch, MSGBOX_AUTOCLOSE
end end
Route121_Text_1F605A: @ 81F605A Route121_Text_OkayMoveOutToMtPyre: @ 81F605A
.string "Okay!\n" .string "Okay!\n"
.string "We're to move out to MT. PYRE!$" .string "We're to move out to MT. PYRE!$"
Route121_Text_1F607F: @ 81F607F Route121_Text_AheadLoomsMtPyre: @ 81F607F
.string "Ahead looms MT. PYRE…\p" .string "Ahead looms MT. PYRE…\p"
.string "It is a natural monument to the spirits \n" .string "It is a natural monument to the spirits \n"
.string "of departed POKéMON…$" .string "of departed POKéMON…$"
Route121_Text_1F60D3: @ 81F60D3 Route121_Text_MtPyrePierSign: @ 81F60D3
.string "MT. PYRE PIER\p" .string "MT. PYRE PIER\p"
.string "…The sign is old and worn out.\n" .string "…The sign is old and worn out.\n"
.string "The words are barely legible…$" .string "The words are barely legible…$"
Route121_Text_1F611E: @ 81F611E Route121_Text_SafariZoneSign: @ 81F611E
.string "“Filled with rare POKéMON!”\n" .string "“Filled with rare POKéMON!”\n"
.string "SAFARI ZONE$" .string "SAFARI ZONE$"
+20 -20
View File
@@ -126,7 +126,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F61C5", "script": "Route123_EventScript_Wendy",
"flag": "0" "flag": "0"
}, },
{ {
@@ -139,7 +139,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2", "trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F61DC", "script": "Route123_EventScript_Braxton",
"flag": "0" "flag": "0"
}, },
{ {
@@ -308,7 +308,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "0", "trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "Route123_EventScript_1F6151", "script": "Route123_EventScript_GigaDrainGirl",
"flag": "0" "flag": "0"
}, },
{ {
@@ -360,7 +360,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2", "trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F61F3", "script": "Route123_EventScript_Violet",
"flag": "0" "flag": "0"
}, },
{ {
@@ -373,7 +373,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F62E9", "script": "Route123_EventScript_Yuki",
"flag": "0" "flag": "0"
}, },
{ {
@@ -386,7 +386,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F62CE", "script": "Route123_EventScript_Miu",
"flag": "0" "flag": "0"
}, },
{ {
@@ -399,7 +399,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "7", "trainer_sight_or_berry_tree_id": "7",
"script": "Route123_EventScript_1F620A", "script": "Route123_EventScript_Cameron",
"flag": "0" "flag": "0"
}, },
{ {
@@ -412,7 +412,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F626C", "script": "Route123_EventScript_Jacki",
"flag": "0" "flag": "0"
}, },
{ {
@@ -425,7 +425,7 @@
"movement_range_y": 0, "movement_range_y": 0,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route123_EventScript_1F6304", "script": "Route123_EventScript_Kindra",
"flag": "0" "flag": "0"
}, },
{ {
@@ -464,7 +464,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F6377", "script": "Route123_EventScript_Jonas",
"flag": "0" "flag": "0"
}, },
{ {
@@ -477,7 +477,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1", "trainer_sight_or_berry_tree_id": "1",
"script": "Route123_EventScript_1F6360", "script": "Route123_EventScript_Kayley",
"flag": "0" "flag": "0"
}, },
{ {
@@ -490,7 +490,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4", "trainer_sight_or_berry_tree_id": "4",
"script": "Route123_EventScript_1F6349", "script": "Route123_EventScript_Ed",
"flag": "0" "flag": "0"
}, },
{ {
@@ -503,7 +503,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2", "trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F63BC", "script": "Route123_EventScript_Fernando",
"flag": "0" "flag": "0"
}, },
{ {
@@ -516,7 +516,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2", "trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F6332", "script": "Route123_EventScript_Alberto",
"flag": "0" "flag": "0"
}, },
{ {
@@ -529,7 +529,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2", "trainer_sight_or_berry_tree_id": "2",
"script": "Route123_EventScript_1F631B", "script": "Route123_EventScript_Frederick",
"flag": "0" "flag": "0"
}, },
{ {
@@ -555,7 +555,7 @@
"movement_range_y": 1, "movement_range_y": 1,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route123_EventScript_1F638E", "script": "Route123_EventScript_Jazmyn",
"flag": "0" "flag": "0"
}, },
{ {
@@ -568,7 +568,7 @@
"movement_range_y": 3, "movement_range_y": 3,
"trainer_type": "1", "trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3", "trainer_sight_or_berry_tree_id": "3",
"script": "Route123_EventScript_1F63A5", "script": "Route123_EventScript_Davis",
"flag": "0" "flag": "0"
}, },
{ {
@@ -757,7 +757,7 @@
"y": 10, "y": 10,
"elevation": 0, "elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route123_EventScript_1F61B3" "script": "Route123_EventScript_RouteSignMtPyre"
}, },
{ {
"type": "secret_base", "type": "secret_base",
@@ -779,7 +779,7 @@
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route123_EventScript_1F61AA" "script": "Route123_EventScript_RouteSign"
}, },
{ {
"type": "hidden_item", "type": "hidden_item",
@@ -795,7 +795,7 @@
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY", "player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route123_EventScript_1F61BC" "script": "Route123_EventScript_BerryMastersHouseSign"
}, },
{ {
"type": "secret_base", "type": "secret_base",
+92 -92
View File
@@ -6,198 +6,198 @@ Route123_OnTransition: @ 81F614D
special SetRoute123Weather special SetRoute123Weather
end end
Route123_EventScript_1F6151:: @ 81F6151 Route123_EventScript_GigaDrainGirl:: @ 81F6151
lock lock
faceplayer faceplayer
goto_if_set FLAG_RECEIVED_TM19, Route123_EventScript_1F61A0 goto_if_set FLAG_RECEIVED_TM19, Route123_EventScript_ReceivedGigaDrain
msgbox Route123_Text_1F641E, MSGBOX_DEFAULT msgbox Route123_Text_LoveGrassMonsHaveAny, MSGBOX_DEFAULT
special IsGrassTypeInParty special IsGrassTypeInParty
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq Route123_EventScript_1F619E goto_if_eq Route123_EventScript_NoGrassMons
msgbox Route123_Text_1F645D, MSGBOX_DEFAULT msgbox Route123_Text_YouLikeGrassMonsTooHaveThis, MSGBOX_DEFAULT
giveitem_std ITEM_TM19 giveitem_std ITEM_TM19
compare VAR_RESULT, 0 compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM19 setflag FLAG_RECEIVED_TM19
msgbox Route123_Text_1F64CF, MSGBOX_DEFAULT msgbox Route123_Text_CheckTreesWithMyGrassMon, MSGBOX_DEFAULT
release release
end end
Route123_EventScript_1F619E:: @ 81F619E Route123_EventScript_NoGrassMons:: @ 81F619E
release release
end end
Route123_EventScript_1F61A0:: @ 81F61A0 Route123_EventScript_ReceivedGigaDrain:: @ 81F61A0
msgbox Route123_Text_1F64CF, MSGBOX_DEFAULT msgbox Route123_Text_CheckTreesWithMyGrassMon, MSGBOX_DEFAULT
release release
end end
Route123_EventScript_1F61AA:: @ 81F61AA Route123_EventScript_RouteSign:: @ 81F61AA
msgbox Route123_Text_1F6511, MSGBOX_SIGN msgbox Route123_Text_RouteSign, MSGBOX_SIGN
end end
Route123_EventScript_1F61B3:: @ 81F61B3 Route123_EventScript_RouteSignMtPyre:: @ 81F61B3
msgbox Route123_Text_1F6529, MSGBOX_SIGN msgbox Route123_Text_RouteSignMtPyre, MSGBOX_SIGN
end end
Route123_EventScript_1F61BC:: @ 81F61BC Route123_EventScript_BerryMastersHouseSign:: @ 81F61BC
msgbox Route123_Text_1F6557, MSGBOX_SIGN msgbox Route123_Text_BerryMastersHouse, MSGBOX_SIGN
end end
Route123_EventScript_1F61C5:: @ 81F61C5 Route123_EventScript_Wendy:: @ 81F61C5
trainerbattle_single TRAINER_WENDY, Route123_Text_29FBEB, Route123_Text_29FC23 trainerbattle_single TRAINER_WENDY, Route123_Text_WendyIntro, Route123_Text_WendyDefeat
msgbox Route123_Text_29FC42, MSGBOX_AUTOCLOSE msgbox Route123_Text_WendyPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F61DC:: @ 81F61DC Route123_EventScript_Braxton:: @ 81F61DC
trainerbattle_single TRAINER_BRAXTON, Route123_Text_29FC6F, Route123_Text_29FCD6 trainerbattle_single TRAINER_BRAXTON, Route123_Text_BraxtonIntro, Route123_Text_BraxtonDefeat
msgbox Route123_Text_29FCF4, MSGBOX_AUTOCLOSE msgbox Route123_Text_BraxtonPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F61F3:: @ 81F61F3 Route123_EventScript_Violet:: @ 81F61F3
trainerbattle_single TRAINER_VIOLET, Route123_Text_29FD1D, Route123_Text_29FD53 trainerbattle_single TRAINER_VIOLET, Route123_Text_VioletIntro, Route123_Text_VioletDefeat
msgbox Route123_Text_29FD7B, MSGBOX_AUTOCLOSE msgbox Route123_Text_VioletPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F620A:: @ 81F620A Route123_EventScript_Cameron:: @ 81F620A
trainerbattle_single TRAINER_CAMERON_1, Route123_Text_29FDBA, Route123_Text_29FE1E, Route123_EventScript_1F6236 trainerbattle_single TRAINER_CAMERON_1, Route123_Text_CameronIntro, Route123_Text_CameronDefeat, Route123_EventScript_RegisterCameron
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route123_EventScript_1F6255 goto_if_eq Route123_EventScript_RematchCameron
msgbox Route123_Text_29FE2A, MSGBOX_DEFAULT msgbox Route123_Text_CameronPostBattle, MSGBOX_DEFAULT
release release
end end
Route123_EventScript_1F6236:: @ 81F6236 Route123_EventScript_RegisterCameron:: @ 81F6236
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route123_Text_29FE70, MSGBOX_DEFAULT msgbox Route123_Text_CameronRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CAMERON_1 register_matchcall TRAINER_CAMERON_1
release release
end end
Route123_EventScript_1F6255:: @ 81F6255 Route123_EventScript_RematchCameron:: @ 81F6255
trainerbattle_rematch TRAINER_CAMERON_1, Route123_Text_29FED4, Route123_Text_29FF1B trainerbattle_rematch TRAINER_CAMERON_1, Route123_Text_CameronRematchIntro, Route123_Text_CameronRematchDefeat
msgbox Route123_Text_29FF27, MSGBOX_AUTOCLOSE msgbox Route123_Text_CameronPostRematch, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F626C:: @ 81F626C Route123_EventScript_Jacki:: @ 81F626C
trainerbattle_single TRAINER_JACKI_1, Route123_Text_29FF61, Route123_Text_29FFD8, Route123_EventScript_1F6298 trainerbattle_single TRAINER_JACKI_1, Route123_Text_JackiIntro, Route123_Text_JackiDefeat, Route123_EventScript_RegisterJacki
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route123_EventScript_1F62B7 goto_if_eq Route123_EventScript_RematchJacki
msgbox Route123_Text_29FFE5, MSGBOX_DEFAULT msgbox Route123_Text_JackiPostBattle, MSGBOX_DEFAULT
release release
end end
Route123_EventScript_1F6298:: @ 81F6298 Route123_EventScript_RegisterJacki:: @ 81F6298
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route123_Text_2A0027, MSGBOX_DEFAULT msgbox Route123_Text_JackiRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JACKI_1 register_matchcall TRAINER_JACKI_1
release release
end end
Route123_EventScript_1F62B7:: @ 81F62B7 Route123_EventScript_RematchJacki:: @ 81F62B7
trainerbattle_rematch TRAINER_JACKI_1, Route123_Text_2A005E, Route123_Text_2A008D trainerbattle_rematch TRAINER_JACKI_1, Route123_Text_JackiRematchIntro, Route123_Text_JackiRematchDefeat
msgbox Route123_Text_2A0099, MSGBOX_AUTOCLOSE msgbox Route123_Text_JackiPostRematch, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F62CE:: @ 81F62CE Route123_EventScript_Miu:: @ 81F62CE
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_2A00D6, Route123_Text_2A0119, Route123_Text_2A016D trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_MiuIntro, Route123_Text_MiuDefeat, Route123_Text_MiuNotEnoughMons
msgbox Route123_Text_2A012E, MSGBOX_AUTOCLOSE msgbox Route123_Text_MiuPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F62E9:: @ 81F62E9 Route123_EventScript_Yuki:: @ 81F62E9
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_2A01A7, Route123_Text_2A01D8, Route123_Text_2A0224 trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_YukiIntro, Route123_Text_YukiDefeat, Route123_Text_YukiNotEnoughMons
msgbox Route123_Text_2A01EE, MSGBOX_AUTOCLOSE msgbox Route123_Text_YukiPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F6304:: @ 81F6304 Route123_EventScript_Kindra:: @ 81F6304
trainerbattle_single TRAINER_KINDRA, Route123_Text_2A025F, Route123_Text_2A02A6 trainerbattle_single TRAINER_KINDRA, Route123_Text_KindraIntro, Route123_Text_KindraDefeat
msgbox Route123_Text_2A02C1, MSGBOX_AUTOCLOSE msgbox Route123_Text_KindraPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F631B:: @ 81F631B Route123_EventScript_Frederick:: @ 81F631B
trainerbattle_single TRAINER_FREDRICK, Route123_Text_2A060A, Route123_Text_2A0631 trainerbattle_single TRAINER_FREDRICK, Route123_Text_FrederickIntro, Route123_Text_FrederickDefeat
msgbox Route123_Text_2A0672, MSGBOX_AUTOCLOSE msgbox Route123_Text_FrederickPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F6332:: @ 81F6332 Route123_EventScript_Alberto:: @ 81F6332
trainerbattle_single TRAINER_ALBERTO, Route123_Text_2A06AF, Route123_Text_2A0704 trainerbattle_single TRAINER_ALBERTO, Route123_Text_AlbertoIntro, Route123_Text_AlbertoDefeat
msgbox Route123_Text_2A072B, MSGBOX_AUTOCLOSE msgbox Route123_Text_AlbertoPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F6349:: @ 81F6349 Route123_EventScript_Ed:: @ 81F6349
trainerbattle_single TRAINER_ED, Route123_Text_2A079B, Route123_Text_2A07F0 trainerbattle_single TRAINER_ED, Route123_Text_EdIntro, Route123_Text_EdDefeat
msgbox Route123_Text_2A080D, MSGBOX_AUTOCLOSE msgbox Route123_Text_EdPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F6360:: @ 81F6360 Route123_EventScript_Kayley:: @ 81F6360
trainerbattle_single TRAINER_KAYLEY, Route123_Text_2A0902, Route123_Text_2A0943 trainerbattle_single TRAINER_KAYLEY, Route123_Text_KayleyIntro, Route123_Text_KayleyDefeat
msgbox Route123_Text_2A096E, MSGBOX_AUTOCLOSE msgbox Route123_Text_KayleyPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F6377:: @ 81F6377 Route123_EventScript_Jonas:: @ 81F6377
trainerbattle_single TRAINER_JONAS, Route123_Text_2A0854, Route123_Text_2A088A trainerbattle_single TRAINER_JONAS, Route123_Text_JonasIntro, Route123_Text_JonasDefeat
msgbox Route123_Text_2A08CA, MSGBOX_AUTOCLOSE msgbox Route123_Text_JonasPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F638E:: @ 81F638E Route123_EventScript_Jazmyn:: @ 81F638E
trainerbattle_single TRAINER_JAZMYN, Route123_Text_2A054E, Route123_Text_2A0592 trainerbattle_single TRAINER_JAZMYN, Route123_Text_JazmynIntro, Route123_Text_JazmynDefeat
msgbox Route123_Text_2A05AC, MSGBOX_AUTOCLOSE msgbox Route123_Text_JazmynPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F63A5:: @ 81F63A5 Route123_EventScript_Davis:: @ 81F63A5
trainerbattle_single TRAINER_DAVIS, Route123_Text_2A04C0, Route123_Text_2A04FE trainerbattle_single TRAINER_DAVIS, Route123_Text_DavisIntro, Route123_Text_DavisDefeat
msgbox Route123_Text_2A0512, MSGBOX_AUTOCLOSE msgbox Route123_Text_DavisPostBattle, MSGBOX_AUTOCLOSE
end end
Route123_EventScript_1F63BC:: @ 81F63BC Route123_EventScript_Fernando:: @ 81F63BC
trainerbattle_single TRAINER_FERNANDO_1, Route123_Text_2A0323, Route123_Text_2A035C, Route123_EventScript_1F63E8 trainerbattle_single TRAINER_FERNANDO_1, Route123_Text_FernandoIntro, Route123_Text_FernandoDefeat, Route123_EventScript_RegisterFernando
specialvar VAR_RESULT, ShouldTryRematchBattle specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1 compare VAR_RESULT, TRUE
goto_if_eq Route123_EventScript_1F6407 goto_if_eq Route123_EventScript_RematchFernando
msgbox Route123_Text_2A0389, MSGBOX_DEFAULT msgbox Route123_Text_FernandoPostBattle, MSGBOX_DEFAULT
release release
end end
Route123_EventScript_1F63E8:: @ 81F63E8 Route123_EventScript_RegisterFernando:: @ 81F63E8
special PlayerFaceTrainerAfterBattle special PlayerFaceTrainerAfterBattle
waitmovement 0 waitmovement 0
msgbox Route123_Text_2A03C1, MSGBOX_DEFAULT msgbox Route123_Text_FernandoRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_FERNANDO_1 register_matchcall TRAINER_FERNANDO_1
release release
end end
Route123_EventScript_1F6407:: @ 81F6407 Route123_EventScript_RematchFernando:: @ 81F6407
trainerbattle_rematch TRAINER_FERNANDO_1, Route123_Text_2A03FB, Route123_Text_2A045A trainerbattle_rematch TRAINER_FERNANDO_1, Route123_Text_FernandoRematchIntro, Route123_Text_FernandoRematchDefeat
msgbox Route123_Text_2A0487, MSGBOX_AUTOCLOSE msgbox Route123_Text_FernandoPostRematch, MSGBOX_AUTOCLOSE
end end
Route123_Text_1F641E: @ 81F641E Route123_Text_LoveGrassMonsHaveAny: @ 81F641E
.string "I love GRASS-type POKéMON!\p" .string "I love GRASS-type POKéMON!\p"
.string "Do you have any GRASS-type POKéMON?$" .string "Do you have any GRASS-type POKéMON?$"
Route123_Text_1F645D: @ 81F645D Route123_Text_YouLikeGrassMonsTooHaveThis: @ 81F645D
.string "Oh?\p" .string "Oh?\p"
.string "You like GRASS-type POKéMON, too,\n" .string "You like GRASS-type POKéMON, too,\n"
.string "don't you?\p" .string "don't you?\p"
.string "I'm so happy, you can have this!\n" .string "I'm so happy, you can have this!\n"
.string "It's a token of our friendship.$" .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 "I check trees with my GRASS-type\n"
.string "POKéMON. I'm like a tree doctor.$" .string "POKéMON. I'm like a tree doctor.$"
Route123_Text_1F6511: @ 81F6511 Route123_Text_RouteSign: @ 81F6511
.string "{RIGHT_ARROW} ROUTE 123\n" .string "{RIGHT_ARROW} ROUTE 123\n"
.string "{LEFT_ARROW} ROUTE 118$" .string "{LEFT_ARROW} ROUTE 118$"
Route123_Text_1F6529: @ 81F6529 Route123_Text_RouteSignMtPyre: @ 81F6529
.string "{UP_ARROW} MT. PYRE\n" .string "{UP_ARROW} MT. PYRE\n"
.string "“Forbidden to the faint of heart.”$" .string "“Forbidden to the faint of heart.”$"
Route123_Text_1F6557: @ 81F6557 Route123_Text_BerryMastersHouse: @ 81F6557
.string "BERRY MASTER'S HOUSE$" .string "BERRY MASTER'S HOUSE$"
+7 -7
View File
@@ -3,14 +3,14 @@ PetalburgCity_Gym_Text_GiveEnigmaBerry: @ 82A6D3D
.string "I just received a very rare BERRY.\n" .string "I just received a very rare BERRY.\n"
.string "I'd like you to have it.$" .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 "If you see BERRIES growing in loamy\n"
.string "soil, feel free to take them.\p" .string "soil, feel free to take them.\p"
.string "But make sure you plant a BERRY in the\n" .string "But make sure you plant a BERRY in the\n"
.string "same spot. That's common courtesy.\p" .string "same spot. That's common courtesy.\p"
.string "Here, I'll share this with you.$" .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 "The way you look, you must be a\n"
.string "TRAINER, no?\p" .string "TRAINER, no?\p"
.string "TRAINERS often make POKéMON hold\n" .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 "Should you use or hoard BERRIES?\p"
.string "It's fun to think about.$" .string "It's fun to think about.$"
Route120_Text_2A70C7: @ 82A70C7 Route120_Text_BerriesExpressionOfLoveIsntIt: @ 82A70C7
.string "BERRIES grow by soaking up sunlight.\p" .string "BERRIES grow by soaking up sunlight.\p"
.string "We help the BERRIES grow by watering\n" .string "We help the BERRIES grow by watering\n"
.string "them regularly.\p" .string "them regularly.\p"
.string "It's an expression of love, isn't it?$" .string "It's an expression of love, isn't it?$"
Route120_Text_2A7147: @ 82A7147 Route120_Text_YesYouUnderstand: @ 82A7147
.string "Yes, yes.\n" .string "Yes, yes.\n"
.string "You understand what I mean.\p" .string "You understand what I mean.\p"
.string "You should take this.$" .string "You should take this.$"
Route120_Text_2A7183: @ 82A7183 Route120_Text_MakeYourOwnImpressions: @ 82A7183
.string "Oh… But it is important to make your\n" .string "Oh… But it is important to make your\n"
.string "own impressions, I guess…\p" .string "own impressions, I guess…\p"
.string "You can have this.$" .string "You can have this.$"
Route120_Text_2A71D5: @ 82A71D5 Route120_Text_BerryIsRareRaiseItWithCare: @ 82A71D5
.string "I think that BERRY is rare.\n" .string "I think that BERRY is rare.\n"
.string "I hope you raise it with loving care.$" .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 "I'll get more BERRIES from\n"
.string "the BERRY MASTER.$" .string "the BERRY MASTER.$"
+256 -256
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -125,7 +125,7 @@
#define FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT 0x6F #define FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT 0x6F
#define FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE 0x70 #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_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_RECEIVED_METEORITE 0x73
#define FLAG_ADVENTURE_STARTED 0x74 // RECEIVED Pokédex. #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. #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_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_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_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_DEFEATED_EVIL_TEAM_MT_CHIMNEY 0x8B
#define FLAG_RECEIVED_6_SODA_POP 0x8C #define FLAG_RECEIVED_6_SODA_POP 0x8C
#define FLAG_DEFEATED_SEASHORE_HOUSE 0x8D #define FLAG_DEFEATED_SEASHORE_HOUSE 0x8D
+2 -2
View File
@@ -149,8 +149,8 @@
#define METATILE_Fortree_SecretBase_LongGrass_BottomLeft 0x281 #define METATILE_Fortree_SecretBase_LongGrass_BottomLeft 0x281
#define METATILE_Fortree_SecretBase_LongGrass_BottomMid 0x282 #define METATILE_Fortree_SecretBase_LongGrass_BottomMid 0x282
#define METATILE_Fortree_SecretBase_LongGrass_BottomRight 0x283 #define METATILE_Fortree_SecretBase_LongGrass_BottomRight 0x283
#define METATILE_Fortree_WoodBridge_Kecleon0 0x297 #define METATILE_Fortree_WoodBridge1_Top 0x297
#define METATILE_Fortree_WoodBridge_Kecleon1 0x29F #define METATILE_Fortree_WoodBridge1_Bottom 0x29F
// gTileset_Sootopolis // gTileset_Sootopolis
#define METATILE_Sootopolis_Door_Closed 0x248 #define METATILE_Sootopolis_Door_Closed 0x248
+2 -2
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_SECRET_BASE_IS_NOT_LOCAL 0x40F0 // Set to TRUE while in another player's secret base.
#define VAR_DAILY_BP 0x40F1 #define VAR_DAILY_BP 0x40F1
#define VAR_WALLY_CALL_STEP_COUNTER 0x40F2 #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_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_RIVAL_RAYQUAZA_CALL_STEP_COUNTER 0x40F6
#define VAR_UNUSED_0x40F7 0x40F7 // Unused Var #define VAR_UNUSED_0x40F7 0x40F7 // Unused Var
#define VAR_UNUSED_0x40F8 0x40F8 // Unused Var #define VAR_UNUSED_0x40F8 0x40F8 // Unused Var
+1 -1
View File
@@ -553,7 +553,7 @@ extern const u8 EventScript_EggHatch[];
extern const u8 UnusualWeather_EventScript_EndEventAndCleanup_1[]; extern const u8 UnusualWeather_EventScript_EndEventAndCleanup_1[];
extern const u8 IslandCave_EventScript_OpenRegiEntrance[]; extern const u8 IslandCave_EventScript_OpenRegiEntrance[];
extern const u8 MauvilleCity_EventScript_RegisterWallyCall[]; 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 LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall[];
extern const u8 RustboroCity_Gym_EventScript_RegisterRoxanne[]; extern const u8 RustboroCity_Gym_EventScript_RegisterRoxanne[];
extern const u8 MossdeepCity_SpaceCenter_2F_EventScript_RivalRayquazaCall[]; extern const u8 MossdeepCity_SpaceCenter_2F_EventScript_RivalRayquazaCall[];
+2 -2
View File
@@ -13,8 +13,8 @@ void IncrementBirthIslandRockStepCount(void);
bool8 UnusualWeatherHasExpired(void); bool8 UnusualWeatherHasExpired(void);
bool8 ShouldDoBrailleRegicePuzzle(void); bool8 ShouldDoBrailleRegicePuzzle(void);
bool32 ShouldDoWallyCall(void); bool32 ShouldDoWallyCall(void);
bool32 ShouldDoWinonaCall(void); bool32 ShouldDoScottFortreeCall(void);
bool32 ShouldDoScottCall(void); bool32 ShouldDoScottBattleFrontierCall(void);
bool32 ShouldDoRoxanneCall(void); bool32 ShouldDoRoxanneCall(void);
bool32 ShouldDoRivalRayquazaCall(void); bool32 ShouldDoRivalRayquazaCall(void);
bool32 CountSSTidalStep(u16 delta); bool32 CountSSTidalStep(u16 delta);
+3 -3
View File
@@ -571,12 +571,12 @@ static bool8 TryStartStepCountScript(u16 metatileBehavior)
ScriptContext1_SetupScript(MauvilleCity_EventScript_RegisterWallyCall); ScriptContext1_SetupScript(MauvilleCity_EventScript_RegisterWallyCall);
return TRUE; return TRUE;
} }
if (ShouldDoWinonaCall() == TRUE) if (ShouldDoScottFortreeCall() == TRUE)
{ {
ScriptContext1_SetupScript(Route119_EventScript_1F49EC); ScriptContext1_SetupScript(Route119_EventScript_ScottWonAtFortreeGymCall);
return TRUE; return TRUE;
} }
if (ShouldDoScottCall() == TRUE) if (ShouldDoScottBattleFrontierCall() == TRUE)
{ {
ScriptContext1_SetupScript(LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall); ScriptContext1_SetupScript(LittlerootTown_ProfessorBirchsLab_EventScript_ScottAboardSSTidalCall);
return TRUE; return TRUE;
+6 -6
View File
@@ -395,9 +395,9 @@ bool32 ShouldDoWallyCall(void)
return TRUE; return TRUE;
} }
bool32 ShouldDoWinonaCall(void) bool32 ShouldDoScottFortreeCall(void)
{ {
if (FlagGet(FLAG_REGISTER_WINONA_POKENAV)) if (FlagGet(FLAG_SCOTT_CALL_FORTREE_GYM))
{ {
switch (gMapHeader.mapType) switch (gMapHeader.mapType)
{ {
@@ -405,7 +405,7 @@ bool32 ShouldDoWinonaCall(void)
case MAP_TYPE_CITY: case MAP_TYPE_CITY:
case MAP_TYPE_ROUTE: case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_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; return FALSE;
} }
@@ -422,9 +422,9 @@ bool32 ShouldDoWinonaCall(void)
return TRUE; 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) switch (gMapHeader.mapType)
{ {
@@ -432,7 +432,7 @@ bool32 ShouldDoScottCall(void)
case MAP_TYPE_CITY: case MAP_TYPE_CITY:
case MAP_TYPE_ROUTE: case MAP_TYPE_ROUTE:
case MAP_TYPE_OCEAN_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; return FALSE;
} }