aboutsummaryrefslogtreecommitdiff
path: root/modes
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-04-29 16:36:16 +0200
committerAstatin <[email protected]>2025-04-29 16:36:16 +0200
commitbe355c4525dfdd579a1821743d450cb8582407ef (patch)
treeef9884be82528a3ee742f9a931f01506a54d5d11 /modes
parentc7d3a2929e9ed719b342e92a54d292d57ee105d2 (diff)
It's broken but I wanted to make the spawning rate vary by floor
Diffstat (limited to 'modes')
-rw-r--r--modes/dungeongeneration.gbasm14
1 files changed, 4 insertions, 10 deletions
diff --git a/modes/dungeongeneration.gbasm b/modes/dungeongeneration.gbasm
index 20d3036..b35cdc8 100644
--- a/modes/dungeongeneration.gbasm
+++ b/modes/dungeongeneration.gbasm
@@ -33,7 +33,7 @@ New_Dungeon:
LD $mem_display_flag, A
LD HL, =Dungeon
- CALL =Load_Dungeon
+ CALL =Load_Dungeon_Txt
LD A, $f4
LD ($9ecb), A
@@ -50,15 +50,9 @@ New_Dungeon:
CALL =Reset_Map
- LD HL, $mem_loaded_enemies_indices
- LD A, $02
- LD (HL+), A
- LD (HL+), A
- LD A, $00
- LD (HL+), A
- LD A, $03
- LD (HL+), A
- CALL =Update_Enemies_Spawning_Pattern
+
+ LD HL, =Dungeon
+ CALL =Load_Dungeon_Spawn_patterns
LD A, $06
LD $mem_loaded_special_entity_index, A