Document cave scripts

This commit is contained in:
GriffinR
2019-11-06 20:38:53 -05:00
parent 1475c4d8da
commit 3a00b66407
35 changed files with 605 additions and 598 deletions
+17 -17
View File
@@ -1,12 +1,12 @@
MirageTower_4F_MapScripts:: @ 823AD47
.byte 0
MirageTower_4F_EventScript_23AD48:: @ 823AD48
MirageTower_4F_EventScript_RootFossil:: @ 823AD48
lock
faceplayer
msgbox MirageTower_4F_Text_23ADF9, MSGBOX_YESNO
msgbox MirageTower_4F_Text_TakeRootFossil, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq MirageTower_4F_EventScript_23AD7F
goto_if_eq MirageTower_4F_EventScript_LeaveRootFossil
giveitem_std ITEM_ROOT_FOSSIL
closemessage
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
@@ -14,20 +14,20 @@ MirageTower_4F_EventScript_23AD48:: @ 823AD48
removeobject 1
delay 30
setflag FLAG_CHOSE_ROOT_FOSSIL
goto MirageTower_4F_EventScript_23ADCA
goto MirageTower_4F_EventScript_CollapseMirageTower
end
MirageTower_4F_EventScript_23AD7F:: @ 823AD7F
msgbox MirageTower_4F_Text_23AE79, MSGBOX_DEFAULT
MirageTower_4F_EventScript_LeaveRootFossil:: @ 823AD7F
msgbox MirageTower_4F_Text_LeftRootFossilAlone, MSGBOX_DEFAULT
release
end
MirageTower_4F_EventScript_23AD89:: @ 823AD89
MirageTower_4F_EventScript_ClawFossil:: @ 823AD89
lock
faceplayer
msgbox MirageTower_4F_Text_23AE98, MSGBOX_YESNO
msgbox MirageTower_4F_Text_TakeClawFossil, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq MirageTower_4F_EventScript_23ADC0
goto_if_eq MirageTower_4F_EventScript_LeaveClawFossil
giveitem_std ITEM_CLAW_FOSSIL
closemessage
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
@@ -35,15 +35,15 @@ MirageTower_4F_EventScript_23AD89:: @ 823AD89
removeobject 2
delay 30
setflag FLAG_CHOSE_CLAW_FOSSIL
goto MirageTower_4F_EventScript_23ADCA
goto MirageTower_4F_EventScript_CollapseMirageTower
end
MirageTower_4F_EventScript_23ADC0:: @ 823ADC0
msgbox MirageTower_4F_Text_23AF18, MSGBOX_DEFAULT
MirageTower_4F_EventScript_LeaveClawFossil:: @ 823ADC0
msgbox MirageTower_4F_Text_LeaveClawFossilAlone, MSGBOX_DEFAULT
release
end
MirageTower_4F_EventScript_23ADCA:: @ 823ADCA
MirageTower_4F_EventScript_CollapseMirageTower:: @ 823ADCA
setvar VAR_0x8004, 1 @ vertical pan
setvar VAR_0x8005, 1 @ horizontal pan
setvar VAR_0x8006, 32 @ num shakes
@@ -59,21 +59,21 @@ MirageTower_4F_EventScript_23ADCA:: @ 823ADCA
release
end
MirageTower_4F_Text_23ADF9: @ 823ADF9
MirageTower_4F_Text_TakeRootFossil: @ 823ADF9
.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?$"
MirageTower_4F_Text_23AE79: @ 823AE79
MirageTower_4F_Text_LeftRootFossilAlone: @ 823AE79
.string "{PLAYER} left the ROOT FOSSIL alone.$"
MirageTower_4F_Text_23AE98: @ 823AE98
MirageTower_4F_Text_TakeClawFossil: @ 823AE98
.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?$"
MirageTower_4F_Text_23AF18: @ 823AF18
MirageTower_4F_Text_LeaveClawFossilAlone: @ 823AF18
.string "{PLAYER} left the CLAW FOSSIL alone.$"