Use YES/NO constants for MSGBOX_YESNO

This commit is contained in:
GriffinR authored and huderlem committed 2019-11-02 16:36:43 -05:00
1 parent a90b828bb8
commit 033c6cea3b
111 files changed
+432 -432

No files matched your search

+4 -4
View File
@@ -6,9 +6,9 @@ Common_EventScript_PkmnCenterNurse:: @ 827191E
compare VAR_RESULT, 4
goto_if_eq EventScript_PkmnCenterNurse_GoldCard
msgbox gText_WouldYouLikeToRestYourPkmn, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq EventScript_PkmnCenterNurse_HealPkmn
compare VAR_RESULT, 0
compare VAR_RESULT, NO
goto_if_eq EventScript_PkmnCenterNurse_Goodbye
end
@@ -112,14 +112,14 @@ EventScript_PkmnCenterNurse_GoldCard:: @ 8271A68
applymovement VAR_0x800B, Common_Movement_Delay48
waitmovement 0
msgbox gText_NoticesGoldCard, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq EventScript_PkmnCenterNurse_GoldCardHealPkmn
message gText_WeHopeToSeeYouAgain2
return
EventScript_PkmnCenterNurse_AskForUsual:: @ 8271AAC
msgbox gText_YouWantTheUsual, MSGBOX_YESNO
compare VAR_RESULT, 1
compare VAR_RESULT, YES
goto_if_eq EventScript_PkmnCenterNurse_GoldCardHealPkmn
message gText_WeHopeToSeeYouAgain2
return