summaryrefslogtreecommitdiff
path: root/include/overworld.h
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-05-10 18:36:57 -0500
committerDiegoisawesome <diego@domoreaweso.me>2018-05-10 18:36:57 -0500
commit416d67c8325758d01decad6e5648263aa7e906df (patch)
tree2f3740b2c76e330d33379dd8ec70439561fc746f /include/overworld.h
parent80062972aecfa0994e9176031ef1cf7b17ae5046 (diff)
Finish porting/decompiling field_effect.c
Diffstat (limited to 'include/overworld.h')
-rw-r--r--include/overworld.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/overworld.h b/include/overworld.h
index 59d4d6a30..15d7bb362 100644
--- a/include/overworld.h
+++ b/include/overworld.h
@@ -23,6 +23,8 @@ extern u16 *gBGTilemapBuffers1;
extern u16 *gBGTilemapBuffers2;
extern u16 *gBGTilemapBuffers3;
+extern void (*gFieldCallback)(void);
+
// Exported ROM declarations
extern const struct UCoords32 gUnknown_08339D64[];
@@ -101,7 +103,7 @@ u8 GetMapTypeByGroupAndId(s8 mapGroup, s8 mapNum);
u8 GetMapTypeByWarpData(struct WarpData *warp);
u8 Overworld_GetMapTypeOfSaveblockLocation(void);
u8 get_map_light_from_warp0(void);
-bool8 is_light_level_1_2_3_5_or_6(u8 mapType);
+bool8 is_map_type_1_2_3_5_or_6(u8 mapType);
bool8 Overworld_MapTypeAllowsTeleportAndFly(u8 mapType);
bool8 Overworld_MapTypeIsIndoors(u8 mapType);
u8 sav1_saved_warp2_map_get_name(void);