Fixed follower NPC changing to surf sprite when choosing not to surface from dive (#7010)

This commit is contained in:
Bivurnum 2025-05-29 04:05:23 -05:00 committed by GitHub
parent 79abc885e7
commit f2a3226b47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -354,7 +354,7 @@ EventScript_UseDiveUnderwater::
setfieldeffectargument 0, VAR_RESULT
setfieldeffectargument 1, 1
msgbox Text_WantToSurface, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, EventScript_EndSurface
goto_if_eq VAR_RESULT, NO, EventScript_NoSurface
msgbox Text_MonUsedDive, MSGBOX_DEFAULT
hidefollowernpc
dofieldeffect FLDEFF_USE_DIVE
@ -369,6 +369,7 @@ EventScript_CantSurface::
EventScript_EndSurface::
callnative SetFollowerNPCSurfSpriteAfterDive
EventScript_NoSurface::
releaseall
end