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.
This commit is contained in:
1 parent
ea724278b7
commit
6508469259
19 files changed
+27
-26
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user