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/RustboroCity | |
| 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/RustboroCity')
| -rw-r--r-- | data/maps/RustboroCity/scripts.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/maps/RustboroCity/scripts.inc b/data/maps/RustboroCity/scripts.inc index cd5f4c84d..22177c783 100644 --- a/data/maps/RustboroCity/scripts.inc +++ b/data/maps/RustboroCity/scripts.inc @@ -494,7 +494,7 @@ RustboroCity_EventScript_1E0B2E:: @ 81E0B2E call_if_eq RustboroCity_EventScript_1E0BF3 setflag FLAG_INTERACTED_WITH_DEVON_EMPLOYEE_GOODS_STOLEN setvar VAR_RUSTBORO_CITY_STATE, 3 - moveobjectoffscreen 9 + copyobjectxytoperm 9 msgbox RustboroCity_Text_1E183E, MSGBOX_DEFAULT releaseall end |
