diff options
author | Astatin <[email protected]> | 2025-06-17 17:42:44 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-06-17 17:42:44 +0200 |
commit | b84a1c2c0ebb484e23753c2f9db8742389fcc99a (patch) | |
tree | 0036439ad1a5cc4c08c4bef79c0255b851a894f2 /map/dungeons/morningforest.gbasm | |
parent | a9142d0163f41c89196ea201ce8245899c701b82 (diff) |
loading ldtk tilemaps + adding dungeon structure that can be loaded at runtime
Diffstat (limited to 'map/dungeons/morningforest.gbasm')
-rw-r--r-- | map/dungeons/morningforest.gbasm | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/map/dungeons/morningforest.gbasm b/map/dungeons/morningforest.gbasm index 4b79861..893ac57 100644 --- a/map/dungeons/morningforest.gbasm +++ b/map/dungeons/morningforest.gbasm @@ -1,6 +1,23 @@ -Dungeon: - .name: .DB =Dungeon_Name_1_Txt +Morning_Forest: + .name: + .DB bank(=Dungeon_Name_1_Txt) + .DB ptr(=Dungeon_Name_1_Txt) + + .flag: .DB 0b00011110 + + .tilemap_padding: .PADTO =.tilemap_padding+3 + + .generation_events.size: + .DB low(=.generation_events.end-=.generation_events) + .generation_events: + .GEN_EVENT_DIALOGUE $01 =Demo_quest_init + .GEN_EVENT_DIALOGUE $10 =Demo_quest_floor_reach + .GEN_EVENT_SPECIAL_ENTITY $10 $06 + .GEN_EVENT_REMOVE_STAIRS $10 + .generation_events.end: + .max_floor: .DB 0x0a, inv(0x0a) + .spawning_patterns: .DB $entity_cat_index, $entity_cat_index, $entity_cat_index, $entity_fimsh_index, 0b00000010 .DB $entity_cat_index, $entity_cat_index, $entity_penguin_index, $entity_fimsh_index, 0b00100011 @@ -10,3 +27,5 @@ Dungeon: .DB $entity_cat_index, $entity_fox_index, $entity_penguin_index, $entity_fimsh_index, 0b00011111 .DB $entity_fox_index, $entity_bug_index, $entity_penguin_index, $entity_fimsh_index, 0b00011111 .DB $entity_fox_index, $entity_mouse_index, $entity_penguin_index, $entity_fimsh_index, 0b00111111 + +.ASSERT bank(=Morning_Forest) bank(.) |