From 28d3378b3c76fc5500c0feb1d2ee450390760f41 Mon Sep 17 00:00:00 2001 From: MysterD Date: Sun, 18 Jun 2023 12:28:26 -0700 Subject: [PATCH] Re-ran autogen --- autogen/lua_definitions/constants.lua | 3 +++ docs/lua/constants.md | 1 + src/pc/lua/smlua_constants_autogen.c | 1 + 3 files changed, 5 insertions(+) diff --git a/autogen/lua_definitions/constants.lua b/autogen/lua_definitions/constants.lua index 7175ec23..151392ff 100644 --- a/autogen/lua_definitions/constants.lua +++ b/autogen/lua_definitions/constants.lua @@ -344,6 +344,9 @@ INSTANT_WARP_INDEX_START = 0x00 --- @type integer INSTANT_WARP_INDEX_STOP = 0x04 +--- @type integer +MAX_AREAS = 8 + --- @type integer WARP_TRANSITION_FADE_FROM_BOWSER = 0x12 diff --git a/docs/lua/constants.md b/docs/lua/constants.md index 4df4e980..83f365d1 100644 --- a/docs/lua/constants.md +++ b/docs/lua/constants.md @@ -70,6 +70,7 @@ ## [area.h](#area.h) - INSTANT_WARP_INDEX_START - INSTANT_WARP_INDEX_STOP +- MAX_AREAS - WARP_TRANSITION_FADE_FROM_BOWSER - WARP_TRANSITION_FADE_FROM_CIRCLE - WARP_TRANSITION_FADE_FROM_COLOR diff --git a/src/pc/lua/smlua_constants_autogen.c b/src/pc/lua/smlua_constants_autogen.c index 2018cab6..1267ccd7 100644 --- a/src/pc/lua/smlua_constants_autogen.c +++ b/src/pc/lua/smlua_constants_autogen.c @@ -310,6 +310,7 @@ char gSmluaConstants[] = "" "COURSE_MIN = 1\n" "INSTANT_WARP_INDEX_START = 0x00\n" "INSTANT_WARP_INDEX_STOP = 0x04\n" +"MAX_AREAS = 8\n" "WARP_TRANSITION_FADE_FROM_COLOR = 0x00\n" "WARP_TRANSITION_FADE_INTO_COLOR = 0x01\n" "WARP_TRANSITION_FADE_FROM_STAR = 0x08\n"