Rename "Hidden" Movement Type to "Buried"
This commit mirrors the change to pokeemerald that renames `MOVEMENT_TYPE_HIDDEN` to `MOVEMENT_TYPE_BURIED` to avoid confusion between it and `MOVEMENT_TYPE_INVISIBLE`. As the files and function labels are not synced between the two repos, only the necessary changes were made based on what pokefirered calls its functions. More syncing of labels with pokeemerald will need to be done in the future.
This commit is contained in:
+2
-2
@@ -317,7 +317,7 @@ static bool8 TrainerSeeFunc_WaitExclMark(u8 taskId, struct Task * task, struct O
|
||||
task->tFuncId++;
|
||||
if (trainerObj->movementType == MOVEMENT_TYPE_TREE_DISGUISE || trainerObj->movementType == MOVEMENT_TYPE_MOUNTAIN_DISGUISE)
|
||||
task->tFuncId = 6;
|
||||
if (trainerObj->movementType == MOVEMENT_TYPE_HIDDEN)
|
||||
if (trainerObj->movementType == MOVEMENT_TYPE_BURIED)
|
||||
task->tFuncId = 8;
|
||||
return TRUE;
|
||||
}
|
||||
@@ -393,7 +393,7 @@ static bool8 TrainerSeeFunc_WaitRemoveDisguise(u8 taskId, struct Task * task, st
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Jump here if hidden in ash. Not used in FRLG.
|
||||
// Jump here if buried in ash. Not used in FRLG.
|
||||
static bool8 TrainerSeeFunc_TrainerInAshFacesPlayer(u8 taskId, struct Task * task, struct ObjectEvent * trainerObj)
|
||||
{
|
||||
if (!ObjectEventIsMovementOverridden(trainerObj)
|
||||
|
||||
Reference in New Issue
Block a user