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:
@@ -26,7 +26,7 @@ SeafloorCavern_Entrance_EventScript_234485:: @ 8234485
|
||||
call_if_eq SeafloorCavern_Entrance_EventScript_234539
|
||||
delay 30
|
||||
setvar VAR_HAS_TALKED_TO_SEAFLOOR_CAVERN_ENTRANCE_GRUNT, 1
|
||||
moveobjectoffscreen 1
|
||||
copyobjectxytoperm 1
|
||||
msgbox SeafloorCavern_Entrance_Text_234544, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 1, Common_Movement_WalkInPlaceUp
|
||||
|
||||
Reference in New Issue
Block a user