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:
@@ -1366,14 +1366,14 @@ SootopolisCity_EventScript_1E646F:: @ 81E646F
|
||||
SootopolisCity_EventScript_1E64B2:: @ 81E64B2
|
||||
applymovement 18, SootopolisCity_Movement_1E64EC
|
||||
waitmovement 0
|
||||
moveobjectoffscreen 18
|
||||
copyobjectxytoperm 18
|
||||
setvar VAR_SOOTOPOLIS_WALLACE_STATE, 1
|
||||
return
|
||||
|
||||
SootopolisCity_EventScript_1E64C5:: @ 81E64C5
|
||||
applymovement 18, SootopolisCity_Movement_1E64EF
|
||||
waitmovement 0
|
||||
moveobjectoffscreen 18
|
||||
copyobjectxytoperm 18
|
||||
setvar VAR_SOOTOPOLIS_WALLACE_STATE, 2
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user