mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-08 00:55:53 -05:00
add new next dungeon script command
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user