summaryrefslogtreecommitdiff
path: root/data/scripts/profile_man.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/profile_man.inc')
-rw-r--r--data/scripts/profile_man.inc12
1 files changed, 4 insertions, 8 deletions
diff --git a/data/scripts/profile_man.inc b/data/scripts/profile_man.inc
index 2c5b16122..4acf049bd 100644
--- a/data/scripts/profile_man.inc
+++ b/data/scripts/profile_man.inc
@@ -28,10 +28,8 @@ ProfileMan_EventScript_CreateProfile::
call Common_ShowEasyChatScreen
lock
faceplayer
- compare VAR_RESULT, 0
- goto_if_eq ProfileMan_EventScript_CancelShowProfile
- compare VAR_RESULT, 1
- goto_if_eq ProfileMan_EventScript_ShowProfile
+ goto_if_eq VAR_RESULT, 0, ProfileMan_EventScript_CancelShowProfile
+ goto_if_eq VAR_RESULT, 1, ProfileMan_EventScript_ShowProfile
end
ProfileMan_EventScript_CancelShowProfile::
@@ -80,10 +78,8 @@ ProfileMan_EventScript_CreateNewProfile::
call Common_ShowEasyChatScreen
lock
faceplayer
- compare VAR_RESULT, 0
- goto_if_eq ProfileMan_EventScript_CancelShowProfile
- compare VAR_RESULT, 1
- goto_if_eq ProfileMan_EventScript_ShowProfile
+ goto_if_eq VAR_RESULT, 0, ProfileMan_EventScript_CancelShowProfile
+ goto_if_eq VAR_RESULT, 1, ProfileMan_EventScript_ShowProfile
end
ProfileMan_EventScript_DeclineNewProfile::