diff options
| author | Tustin2121 <tustin2121@gmail.com> | 2019-08-17 10:38:02 -0400 |
|---|---|---|
| committer | Tustin2121 <tustin2121@gmail.com> | 2019-08-17 13:18:56 -0400 |
| commit | 6508469259cc7eb37c37814f16b2f3a29e9d9555 (patch) | |
| tree | 2377c189fa3392e8d228d4ab5e24816eee1a7577 /data/maps/MossdeepCity_SpaceCenter_2F | |
| parent | ea724278b7c9cf44a64ed7969298d4568c11c245 (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/MossdeepCity_SpaceCenter_2F')
| -rw-r--r-- | data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc b/data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc index 11abafa0c..8dcc74116 100644 --- a/data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc +++ b/data/maps/MossdeepCity_SpaceCenter_2F/scripts.inc @@ -70,9 +70,9 @@ MossdeepCity_SpaceCenter_2F_EventScript_223E09:: @ 8223E09 applymovement 7, MossdeepCity_SpaceCenter_2F_Movement_223E89 waitmovement 0 setvar VAR_MOSSDEEP_SPACE_CENTER_STATE_2, 2 - moveobjectoffscreen 5 - moveobjectoffscreen 7 - moveobjectoffscreen 6 + copyobjectxytoperm 5 + copyobjectxytoperm 7 + copyobjectxytoperm 6 releaseall end |
