summaryrefslogtreecommitdiff
path: root/data/maps/VictoryRoad_1F
diff options
context:
space:
mode:
authorTustin2121 <tustin2121@gmail.com>2019-08-17 10:38:02 -0400
committerTustin2121 <tustin2121@gmail.com>2019-08-17 13:18:56 -0400
commit6508469259cc7eb37c37814f16b2f3a29e9d9555 (patch)
tree2377c189fa3392e8d228d4ab5e24816eee1a7577 /data/maps/VictoryRoad_1F
parentea724278b7c9cf44a64ed7969298d4568c11c245 (diff)
Rename movobjectoffscreen to copyobjectxytoperm
Renaming the command to something that makes more sense as to what the command actually does. The command copies the current xy of the instantiated object back to its template, so that the object remains in the same place if the player walks away and despawns the object, and then comes back. "moveobjectoffscreen" implies that it might be taking the object and moving it physically to an off-screen location somehow.
Diffstat (limited to 'data/maps/VictoryRoad_1F')
-rw-r--r--data/maps/VictoryRoad_1F/scripts.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/maps/VictoryRoad_1F/scripts.inc b/data/maps/VictoryRoad_1F/scripts.inc
index 5214edc44..b6983eac0 100644
--- a/data/maps/VictoryRoad_1F/scripts.inc
+++ b/data/maps/VictoryRoad_1F/scripts.inc
@@ -44,7 +44,7 @@ VictoryRoad_1F_EventScript_235DE1:: @ 8235DE1
trainerbattle_no_intro TRAINER_WALLY_1, VictoryRoad_1F_Text_235FFC
msgbox VictoryRoad_1F_Text_236020, MSGBOX_DEFAULT
clearflag FLAG_HIDE_VICTORY_ROAD_ENTRANCE_WALLY
- moveobjectoffscreen 4
+ copyobjectxytoperm 4
setflag FLAG_DEFEATED_WALLY_VICTORY_ROAD
copyvar VAR_VICTORY_ROAD_1F_STATE, VAR_0x8008
releaseall