aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-11-11 18:16:16 +0900
committerAstatin <[email protected]>2024-11-11 18:16:16 +0900
commit4e460acd36b3465493f6df8d2387a518b2547913 (patch)
tree52347bbc75cc117e3d6e578695d59bbb2fdf13ae
parentd605c2900ae7c62f1937e250a2ae489678d99214 (diff)
Health persistent across dungeons + initial bunny direction fix
-rw-r--r--TODO26
-rw-r--r--entity/init.gbasm13
-rw-r--r--main.gbasm2
3 files changed, 32 insertions, 9 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..ec329f5
--- /dev/null
+++ b/TODO
@@ -0,0 +1,26 @@
+-> Spawn enemies in far away rooms when less than X enemies on the map. (Maybe despawn some too)
+
+-> Add special attacks/capacities to the bunny
+ * Jump x2 (even over an enemy) (attacking or not ?)
+ * Stronger attack
+ * Weaker attack on multiple foxes
+ * Freeze a/multiple fox(es) for X turns
+ -> All with limited number of uses
+
+-> Remove some health to the bunny (probably to 10 points, maybe max health growing ?)
+
+-> Add objects to heal and get back limited use attacks/learn new attacks
+
+-> Add attacks for the foxes
+
+-> Add other types of enemies (some stronger and some weaker/fleeing)
+
+-> Have some enemies drop items
+
+-> Allow enemy to join your team after beating/with an item/after completing a quest
+
+-> Get a safe place (not procedurally generated) with friends where we can get quests and choose to explore dungeons
+
+-> Find a way to control the difficulty level so its easier at the start and harder at the end.
+
+-> (For far future, maybe make a story)
diff --git a/entity/init.gbasm b/entity/init.gbasm
index 4281327..99e522c 100644
--- a/entity/init.gbasm
+++ b/entity/init.gbasm
@@ -32,7 +32,9 @@ Initialize_Entities:
CALL =RNG_Bound
ADD D
LD (HL+), A
- INC HL
+
+ LD A, $enum_direction_down
+ LD (HL+), A
; Turn
LD A, $01
@@ -42,9 +44,6 @@ Initialize_Entities:
LD A, $00
LD (HL+), A
- LD A, $20
- LD (HL), A
-
LD A, L
ADD $0a
LD L, A
@@ -54,10 +53,6 @@ Initialize_Entities:
CALL =Initialize_Fox
CALL =Initialize_Fox
CALL =Initialize_Fox
- CALL =Initialize_Fox
- CALL =Initialize_Fox
- CALL =Initialize_Fox
- CALL =Initialize_Fox
Fix_Bunny_screen:
LD A, $mem_bunny_x
@@ -122,7 +117,7 @@ Initialize_Fox:
LD (HL+), A
; Action
- LD A, $02
+ LD A, $01
LD (HL+), A
LD A, $04
diff --git a/main.gbasm b/main.gbasm
index a888b70..03b42bd 100644
--- a/main.gbasm
+++ b/main.gbasm
@@ -72,6 +72,8 @@
Entrypoint:
CALL =Initialize_RNG
+ LD A, $20
+ LD $mem_bunny_health, A
New_Dungeon:
LD SP, $fffe
CALL =Dungeon_Generation