2020-06-21 01:56:57 -04:00
|
|
|
.set LOCALID_ROOT_FOSSIL, 1
|
|
|
|
.set LOCALID_CLAW_FOSSIL, 2
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_MapScripts::
|
2017-11-09 19:21:31 -06:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_EventScript_RootFossil::
|
2017-11-09 19:21:31 -06:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-06 20:38:53 -05:00
|
|
|
msgbox MirageTower_4F_Text_TakeRootFossil, MSGBOX_YESNO
|
2019-11-02 12:34:53 -04:00
|
|
|
compare VAR_RESULT, NO
|
2019-11-06 20:38:53 -05:00
|
|
|
goto_if_eq MirageTower_4F_EventScript_LeaveRootFossil
|
2020-01-11 12:02:58 -05:00
|
|
|
giveitem ITEM_ROOT_FOSSIL
|
2017-11-09 19:21:31 -06:00
|
|
|
closemessage
|
2018-10-18 15:28:59 -04:00
|
|
|
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
|
|
|
|
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
|
2020-06-21 01:56:57 -04:00
|
|
|
removeobject LOCALID_ROOT_FOSSIL
|
2017-11-09 19:21:31 -06:00
|
|
|
delay 30
|
2019-11-06 14:06:06 -05:00
|
|
|
setflag FLAG_CHOSE_ROOT_FOSSIL
|
2019-11-06 20:38:53 -05:00
|
|
|
goto MirageTower_4F_EventScript_CollapseMirageTower
|
2017-11-09 19:21:31 -06:00
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_EventScript_LeaveRootFossil::
|
2019-11-06 20:38:53 -05:00
|
|
|
msgbox MirageTower_4F_Text_LeftRootFossilAlone, MSGBOX_DEFAULT
|
2017-11-09 19:21:31 -06:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_EventScript_ClawFossil::
|
2017-11-09 19:21:31 -06:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-06 20:38:53 -05:00
|
|
|
msgbox MirageTower_4F_Text_TakeClawFossil, MSGBOX_YESNO
|
2019-11-02 12:34:53 -04:00
|
|
|
compare VAR_RESULT, NO
|
2019-11-06 20:38:53 -05:00
|
|
|
goto_if_eq MirageTower_4F_EventScript_LeaveClawFossil
|
2020-01-11 12:02:58 -05:00
|
|
|
giveitem ITEM_CLAW_FOSSIL
|
2017-11-09 19:21:31 -06:00
|
|
|
closemessage
|
2018-10-18 15:28:59 -04:00
|
|
|
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
|
|
|
|
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
|
2020-06-21 01:56:57 -04:00
|
|
|
removeobject LOCALID_CLAW_FOSSIL
|
2017-11-09 19:21:31 -06:00
|
|
|
delay 30
|
2019-11-06 14:06:06 -05:00
|
|
|
setflag FLAG_CHOSE_CLAW_FOSSIL
|
2019-11-06 20:38:53 -05:00
|
|
|
goto MirageTower_4F_EventScript_CollapseMirageTower
|
2017-11-09 19:21:31 -06:00
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_EventScript_LeaveClawFossil::
|
2019-11-06 20:38:53 -05:00
|
|
|
msgbox MirageTower_4F_Text_LeaveClawFossilAlone, MSGBOX_DEFAULT
|
2017-11-09 19:21:31 -06:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_EventScript_CollapseMirageTower::
|
2019-09-30 01:42:52 -04:00
|
|
|
setvar VAR_0x8004, 1 @ vertical pan
|
|
|
|
setvar VAR_0x8005, 1 @ horizontal pan
|
|
|
|
setvar VAR_0x8006, 32 @ num shakes
|
|
|
|
setvar VAR_0x8007, 2 @ shake delay
|
|
|
|
special ShakeCamera
|
2017-11-09 19:21:31 -06:00
|
|
|
waitstate
|
2018-12-25 11:02:41 -06:00
|
|
|
special DoMirageTowerCeilingCrumble
|
2017-11-09 19:21:31 -06:00
|
|
|
waitstate
|
2019-08-05 11:50:29 -04:00
|
|
|
setvar VAR_MIRAGE_TOWER_STATE, 1
|
2017-12-26 21:20:29 -06:00
|
|
|
clearflag FLAG_LANDMARK_MIRAGE_TOWER
|
2018-06-14 22:00:09 -05:00
|
|
|
warp MAP_ROUTE111, 255, 19, 59
|
2017-11-09 19:21:31 -06:00
|
|
|
waitstate
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_Text_TakeRootFossil:
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "You found the ROOT FOSSIL.\p"
|
|
|
|
.string "If this FOSSIL is taken, the ground\n"
|
|
|
|
.string "around it will likely crumble away…\p"
|
|
|
|
.string "Take the ROOT FOSSIL anyway?$"
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_Text_LeftRootFossilAlone:
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "{PLAYER} left the ROOT FOSSIL alone.$"
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_Text_TakeClawFossil:
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "You found the CLAW FOSSIL.\p"
|
|
|
|
.string "If this FOSSIL is taken, the ground\n"
|
|
|
|
.string "around it will likely crumble away…\p"
|
|
|
|
.string "Take the CLAW FOSSIL anyway?$"
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
MirageTower_4F_Text_LeaveClawFossilAlone:
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "{PLAYER} left the CLAW FOSSIL alone.$"
|
|
|
|
|