Document map script command to reset persisted camera angles in the Distortion World

This documents the `ScrCmd_31F` map script command, that is only used in
the Giratina Room map of the Distortion World to reset the camera angles
that are present in the persisted map features data.

Signed-off-by: Kuruyia <github@kuruyia.net>
This commit is contained in:
Kuruyia 2025-04-06 10:35:17 +02:00
parent 53ef036ce1
commit d649ae0222
3 changed files with 5 additions and 5 deletions

View File

@ -4537,7 +4537,7 @@
.short \arg1
.endm
.macro ScrCmd_31F
.macro ResetDistortionWorldPersistedCameraAngles
.short 799
.endm

View File

@ -23,7 +23,7 @@ _0026:
End
_0033:
ScrCmd_31F
ResetDistortionWorldPersistedCameraAngles
SetVar VAR_DISTORTION_WORLD_PROGRESS, 14
RemoveObject 128
End

View File

@ -732,7 +732,7 @@ static BOOL ScrCmd_GetRotomFormsInSave(ScriptContext *ctx);
static BOOL ScrCmd_IncrementTrainerScore(ScriptContext *ctx);
static BOOL ScrCmd_311(ScriptContext *ctx);
static BOOL ScrCmd_312(ScriptContext *ctx);
static BOOL ScrCmd_31F(ScriptContext *ctx);
static BOOL ScrCmd_ResetDistortionWorldPersistedCameraAngles(ScriptContext *ctx);
static BOOL ScrCmd_313(ScriptContext *ctx);
static BOOL ScrCmd_StartGiratinaOriginBattle(ScriptContext *ctx);
static BOOL ScrCmd_WriteSpeciesSeen(ScriptContext *ctx);
@ -1567,7 +1567,7 @@ const ScrCmdFunc Unk_020EAC58[] = {
ScrCmd_CheckPartyHasFatefulEncounter,
ScrCmd_31D,
ScrCmd_31E,
ScrCmd_31F,
ScrCmd_ResetDistortionWorldPersistedCameraAngles,
ScrCmd_320,
ScrCmd_321,
ScrCmd_322,
@ -7869,7 +7869,7 @@ static BOOL ScrCmd_312(ScriptContext *ctx)
return FALSE;
}
static BOOL ScrCmd_31F(ScriptContext *ctx)
static BOOL ScrCmd_ResetDistortionWorldPersistedCameraAngles(ScriptContext *ctx)
{
FieldSystem *fieldSystem = ctx->fieldSystem;