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:
@@ -77,7 +77,7 @@ SlateportCity_Harbor_EventScript_20C9F5:: @ 820C9F5
|
||||
closemessage
|
||||
setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_1_BLOCKING_ENTRANCE
|
||||
setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_2_BLOCKING_ENTRANCE
|
||||
moveobjectoffscreen 4
|
||||
copyobjectxytoperm 4
|
||||
setobjectmovementtype 4, MOVEMENT_TYPE_FACE_RIGHT
|
||||
releaseall
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user