2017-11-10 01:21:31 +00:00
|
|
|
NavelRock_Bottom_MapScripts:: @ 8269255
|
2019-04-22 21:31:51 +01:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, NavelRock_Bottom_OnTransition
|
2019-02-22 07:28:32 +00:00
|
|
|
map_script MAP_SCRIPT_ON_RESUME, NavelRock_Bottom_MapScript1_269284
|
2017-11-10 01:21:31 +00:00
|
|
|
.byte 0
|
|
|
|
|
2019-04-22 21:31:51 +01:00
|
|
|
NavelRock_Bottom_OnTransition: @ 8269260
|
2019-01-02 21:12:43 +00:00
|
|
|
call_if_set FLAG_CAUGHT_LUGIA, NavelRock_Bottom_EventScript_269273
|
|
|
|
call_if_unset FLAG_CAUGHT_LUGIA, NavelRock_Bottom_EventScript_269277
|
2017-11-10 01:21:31 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
NavelRock_Bottom_EventScript_269273:: @ 8269273
|
2018-10-18 20:28:59 +01:00
|
|
|
setflag FLAG_HIDE_LUGIA
|
2017-11-10 01:21:31 +00:00
|
|
|
return
|
|
|
|
|
|
|
|
NavelRock_Bottom_EventScript_269277:: @ 8269277
|
2019-02-23 01:21:26 +00:00
|
|
|
goto_if_set FLAG_DEFEATED_LUGIA, Common_EventScript_NopReturn
|
2018-10-18 20:28:59 +01:00
|
|
|
clearflag FLAG_HIDE_LUGIA
|
2017-11-10 01:21:31 +00:00
|
|
|
return
|
|
|
|
|
|
|
|
NavelRock_Bottom_MapScript1_269284: @ 8269284
|
2018-12-22 02:32:45 +00:00
|
|
|
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, NavelRock_Bottom_EventScript_26928E
|
2017-11-10 01:21:31 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
NavelRock_Bottom_EventScript_26928E:: @ 826928E
|
2018-08-08 09:37:12 +01:00
|
|
|
specialvar VAR_RESULT, GetBattleOutcome
|
2019-10-07 04:07:59 +01:00
|
|
|
compare VAR_RESULT, B_OUTCOME_CAUGHT
|
2019-02-23 01:21:26 +00:00
|
|
|
goto_if_ne Common_EventScript_NopReturn
|
2017-11-10 01:21:31 +00:00
|
|
|
removeobject 1
|
|
|
|
return
|
|
|
|
|
|
|
|
NavelRock_Bottom_EventScript_2692A2:: @ 82692A2
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
waitse
|
|
|
|
delay 20
|
|
|
|
playse SE_T_AME_E
|
2019-09-30 06:42:52 +01:00
|
|
|
setvar VAR_0x8004, 0 @ vertical pan
|
|
|
|
setvar VAR_0x8005, 3 @ horizontal pan
|
|
|
|
setvar VAR_0x8006, 4 @ num shakes
|
|
|
|
setvar VAR_0x8007, 2 @ shake delay
|
|
|
|
special ShakeCamera
|
2017-11-10 01:21:31 +00:00
|
|
|
delay 30
|
|
|
|
playse SE_T_AME_E
|
2019-09-30 06:42:52 +01:00
|
|
|
setvar VAR_0x8004, 0 @ vertical pan
|
|
|
|
setvar VAR_0x8005, 3 @ horizontal pan
|
|
|
|
setvar VAR_0x8006, 4 @ num shakes
|
|
|
|
setvar VAR_0x8007, 2 @ shake delay
|
|
|
|
special ShakeCamera
|
2017-11-10 01:21:31 +00:00
|
|
|
delay 30
|
|
|
|
delay 50
|
|
|
|
waitse
|
|
|
|
playmoncry SPECIES_LUGIA, 2
|
|
|
|
waitmoncry
|
|
|
|
delay 20
|
2019-08-15 04:38:42 +01:00
|
|
|
setvar VAR_0x8004, SPECIES_LUGIA
|
|
|
|
setvar VAR_0x8005, 70 @level
|
|
|
|
setvar VAR_0x8006, ITEM_NONE
|
2018-02-09 14:55:12 +00:00
|
|
|
special CreateObedientEnemyMon
|
2017-11-10 01:21:31 +00:00
|
|
|
setflag FLAG_SYS_CTRL_OBJ_DELETE
|
2017-11-28 22:02:09 +00:00
|
|
|
special BattleSetup_StartLegendaryBattle
|
2017-11-10 01:21:31 +00:00
|
|
|
waitstate
|
|
|
|
clearflag FLAG_SYS_CTRL_OBJ_DELETE
|
2018-08-08 09:37:12 +01:00
|
|
|
specialvar VAR_RESULT, GetBattleOutcome
|
2019-10-07 04:07:59 +01:00
|
|
|
compare VAR_RESULT, B_OUTCOME_WON
|
2018-12-22 01:28:24 +00:00
|
|
|
goto_if_eq NavelRock_Bottom_EventScript_269336
|
2019-10-07 04:07:59 +01:00
|
|
|
compare VAR_RESULT, B_OUTCOME_RAN
|
2018-12-22 01:28:24 +00:00
|
|
|
goto_if_eq NavelRock_Bottom_EventScript_269344
|
2019-10-07 04:07:59 +01:00
|
|
|
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
|
2018-12-22 01:28:24 +00:00
|
|
|
goto_if_eq NavelRock_Bottom_EventScript_269344
|
2019-01-02 21:12:43 +00:00
|
|
|
setflag FLAG_CAUGHT_LUGIA
|
2017-11-10 01:21:31 +00:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
NavelRock_Bottom_EventScript_269336:: @ 8269336
|
2019-01-02 21:12:43 +00:00
|
|
|
setflag FLAG_DEFEATED_LUGIA
|
2019-08-15 04:38:42 +01:00
|
|
|
setvar VAR_0x8004, SPECIES_LUGIA
|
|
|
|
goto Common_EventScript_LegendaryFlewAway
|
2017-11-10 01:21:31 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
NavelRock_Bottom_EventScript_269344:: @ 8269344
|
2019-08-15 04:38:42 +01:00
|
|
|
setvar VAR_0x8004, SPECIES_LUGIA
|
|
|
|
goto Common_EventScript_LegendaryFlewAway
|
2017-11-10 01:21:31 +00:00
|
|
|
end
|