fixed oversight causing chosen fossil to be lost if bag is full (#3978)
* fixed oversight causing chosen fossil to be lost * fixed an error with my condition * - conditional check and + underpass fossil check
This commit is contained in:
parent
cadaeb7074
commit
cae58ca93e
2 changed files with 4 additions and 0 deletions
|
@ -18,12 +18,14 @@ DesertUnderpass_EventScript_Fossil::
|
|||
|
||||
DesertUnderpass_EventScript_GiveClawFossil::
|
||||
giveitem ITEM_CLAW_FOSSIL
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
removeobject LOCALID_FOSSIL
|
||||
release
|
||||
end
|
||||
|
||||
DesertUnderpass_EventScript_GiveRootFossil::
|
||||
giveitem ITEM_ROOT_FOSSIL
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
removeobject LOCALID_FOSSIL
|
||||
release
|
||||
end
|
||||
|
|
|
@ -10,6 +10,7 @@ MirageTower_4F_EventScript_RootFossil::
|
|||
msgbox MirageTower_4F_Text_TakeRootFossil, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, MirageTower_4F_EventScript_LeaveRootFossil
|
||||
giveitem ITEM_ROOT_FOSSIL
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
closemessage
|
||||
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
|
||||
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
|
||||
|
@ -30,6 +31,7 @@ MirageTower_4F_EventScript_ClawFossil::
|
|||
msgbox MirageTower_4F_Text_TakeClawFossil, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, NO, MirageTower_4F_EventScript_LeaveClawFossil
|
||||
giveitem ITEM_CLAW_FOSSIL
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
closemessage
|
||||
setflag FLAG_HIDE_MIRAGE_TOWER_CLAW_FOSSIL
|
||||
setflag FLAG_HIDE_MIRAGE_TOWER_ROOT_FOSSIL
|
||||
|
|
Loading…
Reference in a new issue