Added a level script function to easily set a skybox for each area

In your level script add the function
CHANGE_AREA_SKYBOX(Area ID, Skybox Segment Start, Skybox Segment End) .
This commit is contained in:
Mineqwerty
2021-09-04 20:27:21 -04:00
parent 2d86f0a404
commit 33fa7013b0
5 changed files with 23 additions and 2 deletions

View File

@@ -190,6 +190,12 @@
CMD_PTR(romEnd)
#endif
#define CHANGE_AREA_SKYBOX(area, segStart, segEnd) \
CMD_BBH(0x3D, 0x0C, area), \
CMD_PTR(segStart), \
CMD_PTR(segEnd)
#define INIT_LEVEL() \
CMD_BBH(0x1B, 0x04, 0x0000)