diff options
author | Astatin <[email protected]> | 2025-03-18 19:12:59 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-03-18 19:12:59 +0900 |
commit | 579e73311319868d8b186e3442098358d839b3b3 (patch) | |
tree | b21d556c7c6a5e72b0c25a224711c2e553e46abb /definitions.gbasm | |
parent | a29c10798a8064542ac04a5160baaa9b406ef239 (diff) |
Add generation events to be executed on floor generation
Diffstat (limited to 'definitions.gbasm')
-rw-r--r-- | definitions.gbasm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/definitions.gbasm b/definitions.gbasm index 760751c..6a01759 100644 --- a/definitions.gbasm +++ b/definitions.gbasm @@ -170,6 +170,20 @@ ; _padding: u32 ; } +.DEFINE mem_dungeon_generation_events $c9c0 ; Takes the memory from c9c0 to c9ff (16 events) +; struct events { +; floor_idx: u8, +; +; dungeon_gen_event_jump_table_index: u8 +; 00: Nothing +; 01: Start dialogue at the beggining +; 02: Spawn a special entity (should not be used twice on the same floor +; +; free_parameters: (u16) +; 01: Dialogue script address +; 02: Entity template index (u8 + padding8) +; } + .DEFINE mem_oam_buffer $ca00 ; Until $ca9f .DEFINE mem_oam_buffer_low ($c980) |