diff options
Diffstat (limited to 'data/maps/SouthernIsland_Interior/scripts.inc')
-rw-r--r-- | data/maps/SouthernIsland_Interior/scripts.inc | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/data/maps/SouthernIsland_Interior/scripts.inc b/data/maps/SouthernIsland_Interior/scripts.inc index 2c2e6e00d..20ed1e58d 100644 --- a/data/maps/SouthernIsland_Interior/scripts.inc +++ b/data/maps/SouthernIsland_Interior/scripts.inc @@ -1,22 +1,22 @@ .set LOCALID_LATI, 2 -SouthernIsland_Interior_MapScripts:: @ 8242A45 +SouthernIsland_Interior_MapScripts:: map_script MAP_SCRIPT_ON_RESUME, SouthernIsland_Interior_OnResume map_script MAP_SCRIPT_ON_TRANSITION, SouthernIsland_Interior_OnTransition .byte 0 -SouthernIsland_Interior_OnResume: @ 8242A50 +SouthernIsland_Interior_OnResume: call_if_set FLAG_SYS_CTRL_OBJ_DELETE, SouthernIsland_Interior_EventScript_TryRemoveLati end -SouthernIsland_Interior_EventScript_TryRemoveLati:: @ 8242A5A +SouthernIsland_Interior_EventScript_TryRemoveLati:: specialvar VAR_RESULT, GetBattleOutcome compare VAR_RESULT, B_OUTCOME_CAUGHT goto_if_ne Common_EventScript_NopReturn removeobject LOCALID_LATI return -SouthernIsland_Interior_OnTransition: @ 8242A6E +SouthernIsland_Interior_OnTransition: compare VAR_ROAMER_POKEMON, 0 call_if_eq SouthernIsland_Interior_EventScript_SetUpLatios compare VAR_ROAMER_POKEMON, 0 @@ -24,17 +24,17 @@ SouthernIsland_Interior_OnTransition: @ 8242A6E call SouthernIsland_Interior_EventScript_SetUpPlayerGfx end -SouthernIsland_Interior_EventScript_SetUpLatios:: @ 8242A8A +SouthernIsland_Interior_EventScript_SetUpLatios:: setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_LATIOS setvar VAR_TEMP_4, SPECIES_LATIOS return -SouthernIsland_Interior_EventScript_SetUpLatias:: @ 8242A95 +SouthernIsland_Interior_EventScript_SetUpLatias:: setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_LATIAS setvar VAR_TEMP_4, SPECIES_LATIAS return -SouthernIsland_Interior_EventScript_SetUpPlayerGfx:: @ 8242AA0 +SouthernIsland_Interior_EventScript_SetUpPlayerGfx:: checkplayergender compare VAR_RESULT, MALE goto_if_eq SouthernIsland_Interior_EventScript_SetBrendanGfx @@ -42,21 +42,21 @@ SouthernIsland_Interior_EventScript_SetUpPlayerGfx:: @ 8242AA0 goto_if_eq SouthernIsland_Interior_EventScript_SetMayGfx end -SouthernIsland_Interior_EventScript_SetBrendanGfx:: @ 8242AB8 +SouthernIsland_Interior_EventScript_SetBrendanGfx:: setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL return -SouthernIsland_Interior_EventScript_SetMayGfx:: @ 8242ABE +SouthernIsland_Interior_EventScript_SetMayGfx:: setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL return -SouthernIsland_Interior_EventScript_TryLatiEncounter:: @ 8242AC4 +SouthernIsland_Interior_EventScript_TryLatiEncounter:: lockall setvar VAR_0x8008, 12 goto SouthernIsland_Interior_EventScript_Lati end -SouthernIsland_Interior_EventScript_Lati:: @ 8242AD0 +SouthernIsland_Interior_EventScript_Lati:: goto_if_set FLAG_TEMP_2, SouthernIsland_Interior_EventScript_Sign goto_if_set FLAG_DEFEATED_LATIAS_OR_LATIOS, SouthernIsland_Interior_EventScript_Sign goto_if_set FLAG_CAUGHT_LATIAS_OR_LATIOS, SouthernIsland_Interior_EventScript_Sign @@ -98,43 +98,43 @@ SouthernIsland_Interior_EventScript_Lati:: @ 8242AD0 releaseall end -SouthernIsland_Interior_EventScript_LatiDefeated:: @ 8242B81 +SouthernIsland_Interior_EventScript_LatiDefeated:: setflag FLAG_DEFEATED_LATIAS_OR_LATIOS copyvar VAR_0x8004, VAR_TEMP_4 goto Common_EventScript_LegendaryFlewAway end -SouthernIsland_Interior_EventScript_RanFromLati:: @ 8242B8F +SouthernIsland_Interior_EventScript_RanFromLati:: copyvar VAR_0x8004, VAR_TEMP_4 goto Common_EventScript_LegendaryFlewAway end -SouthernIsland_Interior_EventScript_Sign:: @ 8242B9A +SouthernIsland_Interior_EventScript_Sign:: msgbox SouthernIsland_Interior_Text_Sign, MSGBOX_DEFAULT releaseall end -SouthernIsland_Interior_EventScript_SetLatiosBattleVars:: @ 8242BA4 +SouthernIsland_Interior_EventScript_SetLatiosBattleVars:: setvar VAR_0x8004, SPECIES_LATIOS setvar VAR_0x8005, 50 @ level setvar VAR_0x8006, ITEM_SOUL_DEW special CreateEventLegalEnemyMon return -SouthernIsland_Interior_EventScript_SetLatiasBattleVars:: @ 8242BB7 +SouthernIsland_Interior_EventScript_SetLatiasBattleVars:: setvar VAR_0x8004, SPECIES_LATIAS setvar VAR_0x8005, 50 @ level setvar VAR_0x8006, ITEM_SOUL_DEW special CreateEventLegalEnemyMon return -SouthernIsland_Interior_Movement_CameraPanUp: @ 8242BCA +SouthernIsland_Interior_Movement_CameraPanUp: walk_up walk_up walk_up step_end -SouthernIsland_Interior_Movement_CameraPanDown: @ 8242BCE +SouthernIsland_Interior_Movement_CameraPanDown: delay_16 delay_16 delay_16 @@ -148,7 +148,7 @@ SouthernIsland_Interior_Movement_CameraPanDown: @ 8242BCE walk_in_place_fastest_up step_end -SouthernIsland_Interior_Movement_LatiApproach: @ 8242BDA +SouthernIsland_Interior_Movement_LatiApproach: walk_down walk_down walk_down |