src/scroll.c file

Functions

void UpdateScreenShake(void)
void sub_0807C8B0(u16* data, u32 width, u32 height)
void sub_0807C810()
void DeleteSleepingEntities(void)
void sub_0807BBE4()
void CreateCollisionDataBorderAroundRoom()
void sub_0805E248()
void Scroll0(RoomControls*)
void Scroll1(RoomControls*)
void Scroll2(RoomControls*)
void Scroll4(RoomControls*)
void Scroll5(RoomControls*)
void Scroll2Sub0(RoomControls*)
void Scroll2Sub1(RoomControls*)
void Scroll2Sub2(RoomControls*)
void sub_0807FEC8(RoomControls*)
void Scroll4Sub0(RoomControls*)
void Scroll4Sub1(RoomControls*)
void Scroll5Sub0(RoomControls*)
void Scroll5Sub1(RoomControls*)
void Scroll5Sub2(RoomControls*)
void Scroll5Sub3(RoomControls*)
void Scroll5Sub4(RoomControls*)
void Scroll5Sub5(RoomControls*)
auto sub_080803D0() -> u32
auto sub_08080278() -> u32
void sub_08080C80(MapDataDefinition*)
void sub_08080368()
void FillActTileForLayer(MapLayer* mapLayer)
auto sub_08080794(const Transition* transition, u32 param_2, u32 param_3, u32 param_4) -> bool32
auto sub_08080808(const Transition* transition, u32 param_2, u32 param_3, u32 param_4) -> bool32
void sub_080808D8(s32)
void sub_080808E4(s32)
void sub_08080904(s32)
void sub_08080910(s32)
void UpdateScroll(void)
void UpdateIsDiggingCave(void)
void ClearTileMaps(void)
auto sub_080806BC(u32 x, u32 y, u32 param_3, u32 param_4) -> bool32
auto sub_08080734(u32 param_1, u32 param_2) -> const Transition*
void DoExitTransition(const ScreenTransitionData* data)
void sub_0808091C(const ScreenTransitionData* screenTransition, u32 transitionType)
void sub_08080930(u32 unused)
auto GetLayerByIndex(u32 layer) -> MapLayer*
Returns the MapLayer for a layer of the map.
void InitScreenShake(u32 time, u32 magnitude)
void sub_08080974(u32 arg0, u32 arg1)
void sub_080809D4(void)
void UpdateDoorTransition()
void sub_08080CB4(Entity* this)

Variables

u8 gUpdateVisibleTiles
u16 gUnk_0200B640
MapDataDefinition** gCaveBorderMapData
u16 gUnk_02022830
u16 gUnk_020246B0
u8 gMapSpecialTileToActTile
const s8 gShakeOffsets

Function documentation

MapLayer* GetLayerByIndex(u32 layer)

Returns the MapLayer for a layer of the map.

Parameters
layer