add new next dungeon script command

This commit is contained in:
DizzyEggg
2025-06-19 12:00:11 +02:00
parent 0b56ca5480
commit beea0c5997
21 changed files with 68 additions and 69 deletions

View File

@@ -1,6 +1,7 @@
#include "constants/event_flag.h"
#include "constants/item.h"
#include "constants/ground_map.h"
#include "constants/dungeon.h"
#include "portrait_placement.h"
#include "structs/str_ground_script.h"
#define LPARRAY(x) (ARRAY_COUNT(x)), x
@@ -9,6 +10,8 @@
#define CPOS_CURRENT 0x4
// 01..07: complex map/dungeon selection/check commands
#define NEXT_DUNGEON(u, d) { 0x02, 0, u, d, 0, NULL } // Seems to be a general command for setting up which dungeon to enter next. First argument is unknown.
#define SELECT_MAP(m) { 0x08, 0, 0, m, 0, NULL }
#define SELECT_GROUND(m) { 0x09, 0, 0, m, 0, NULL }
#define SELECT_DUNGEON(m,d,f,b) { 0x0A, b, f, d, m, NULL }