Use YES/NO constants for MSGBOX_YESNO

This commit is contained in:
GriffinR
2019-11-02 12:34:53 -04:00
committed by huderlem
parent a90b828bb8
commit 033c6cea3b
111 changed files with 432 additions and 432 deletions

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