summaryrefslogtreecommitdiff
path: root/data/scripts/pc_transfer.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/pc_transfer.inc')
-rw-r--r--data/scripts/pc_transfer.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/data/scripts/pc_transfer.inc b/data/scripts/pc_transfer.inc
index da92ef1d5..1204bece3 100644
--- a/data/scripts/pc_transfer.inc
+++ b/data/scripts/pc_transfer.inc
@@ -22,8 +22,7 @@ Common_EventScript_TransferredToPC::
EventScript_TransferredSomeonesPC::
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
- compare VAR_RESULT, TRUE
- goto_if_eq EventScript_SomeonesPCBoxFull
+ goto_if_eq VAR_RESULT, TRUE, EventScript_SomeonesPCBoxFull
msgbox gText_PkmnTransferredSomeonesPC, MSGBOX_DEFAULT
return
@@ -35,8 +34,7 @@ EventScript_SomeonesPCBoxFull::
EventScript_TransferredLanettesPC::
specialvar VAR_RESULT, ShouldShowBoxWasFullMessage
- compare VAR_RESULT, TRUE
- goto_if_eq EventScript_LanettesPCBoxFull
+ goto_if_eq VAR_RESULT, TRUE, EventScript_LanettesPCBoxFull
msgbox gText_PkmnTransferredLanettesPC, MSGBOX_DEFAULT
return