Source file part of map script renaming
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#ifndef GUARD_CONSTANTS_MAP_SCRIPTS_H
|
||||
#define GUARD_CONSTANTS_MAP_SCRIPTS_H
|
||||
|
||||
#define MAP_SCRIPT_ON_LOAD 1
|
||||
#define MAP_SCRIPT_ON_FRAME_TABLE 2
|
||||
#define MAP_SCRIPT_ON_TRANSITION 3
|
||||
#define MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE 4
|
||||
#define MAP_SCRIPT_ON_RESUME 5
|
||||
#define MAP_SCRIPT_ON_DIVE_WARP 6
|
||||
#define MAP_SCRIPT_ON_RETURN_TO_FIELD 7
|
||||
|
||||
#endif // GUARD_CONSTANTS_MAP_SCRIPTS_H
|
||||
+1
-1
@@ -68,7 +68,7 @@ void SetContinueGameWarpToDynamicWarp(int unused);
|
||||
const struct MapConnection *GetMapConnection(u8 dir);
|
||||
bool8 SetDiveWarpEmerge(u16 x, u16 y);
|
||||
bool8 SetDiveWarpDive(u16 x, u16 y);
|
||||
void mliX_load_map(u8 mapGroup, u8 mapNum);
|
||||
void LoadMapFromCameraTransition(u8 mapGroup, u8 mapNum);
|
||||
void ResetInitialPlayerAvatarState(void);
|
||||
void StoreInitialPlayerAvatarState(void);
|
||||
bool32 Overworld_IsBikingAllowed(void);
|
||||
|
||||
+10
-10
@@ -43,16 +43,16 @@ void ScriptContext1_SetupScript(const u8 *ptr);
|
||||
void ScriptContext1_Stop(void);
|
||||
void EnableBothScriptContexts(void);
|
||||
void ScriptContext2_RunNewScript(const u8 *ptr);
|
||||
u8 *mapheader_get_tagged_pointer(u8 tag);
|
||||
void mapheader_run_script_by_tag(u8 tag);
|
||||
u8 *mapheader_get_first_match_from_tagged_ptr_list(u8 tag);
|
||||
void mapheader_run_script_with_tag_x1(void);
|
||||
void mapheader_run_script_with_tag_x3(void);
|
||||
void mapheader_run_script_with_tag_x5(void);
|
||||
void mapheader_run_script_with_tag_x7(void);
|
||||
void mapheader_run_script_with_tag_x6(void);
|
||||
bool8 mapheader_run_first_tag2_script_list_match(void);
|
||||
void mapheader_run_first_tag4_script_list_match(void);
|
||||
u8 *MapHeaderGetScriptTable(u8 tag);
|
||||
void MapHeaderRunScriptType(u8 tag);
|
||||
u8 *MapHeaderCheckScriptTable(u8 tag);
|
||||
void RunOnLoadMapScript(void);
|
||||
void RunOnTransitionMapScript(void);
|
||||
void RunOnResumeMapScript(void);
|
||||
void RunOnReturnToFieldMapScript(void);
|
||||
void RunOnDiveWarpMapScript(void);
|
||||
bool8 TryRunOnFrameMapScript(void);
|
||||
void TryRunOnWarpIntoMapScript(void);
|
||||
u32 CalculateRamScriptChecksum(void);
|
||||
void ClearRamScript(void);
|
||||
bool8 InitRamScript(const u8 *script, u16 scriptSize, u8 mapGroup, u8 mapNum, u8 objectId);
|
||||
|
||||
Reference in New Issue
Block a user