diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2024-01-06 18:12:53 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2024-01-06 18:12:53 +0100 |
| commit | 560dfa45b16d5da212174423d71c67f638366cce (patch) | |
| tree | fb103ec8abfce76017c37ebb163bd91a8fea1278 /src/beanstalkSubtask.c | |
| parent | 06dc15859867c7f2db22ea6e289e28ff12b0b6c9 (diff) | |
Add more tilemap documentation
Diffstat (limited to 'src/beanstalkSubtask.c')
| -rw-r--r-- | src/beanstalkSubtask.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/beanstalkSubtask.c b/src/beanstalkSubtask.c index 1eff587d..d3745995 100644 --- a/src/beanstalkSubtask.c +++ b/src/beanstalkSubtask.c @@ -20,7 +20,7 @@ extern void sub_0807C898(void); extern void sub_0805BB74(s32); extern void LoadRoomGfx(void); -extern void SetupTileSet(void); +extern void LoadRoomTileSet(void); extern void sub_0807C4F8(void); extern void gMapData; @@ -1014,7 +1014,7 @@ void RenderMapLayerToSubTileMap(u16* subTileMap, MapLayer* mapLayer) { u16 tileX; u32 tilePosAndLayer; u32 layerIndex; - // Index into the tileset at MapLayer.tiles + // Index into the tileSet at MapLayer.tiles u32 tileSetIndex; if (mapLayer == &gMapBottom) { @@ -1187,8 +1187,8 @@ u32 sub_0801AE34(void) { void sub_0801AE44(bool32 loadGfx) { void (*func)(void); - gRoomControls.tileset = (u32)NULL; - SetupTileSet(); + gRoomControls.tileSet = (u32)NULL; + LoadRoomTileSet(); if (loadGfx != 0) { LoadRoomGfx(); } |
