From ab45947d3fdc9885c497d9fc3dd124c7986f6ea4 Mon Sep 17 00:00:00 2001 From: Astatin Date: Tue, 11 Mar 2025 18:46:42 +0900 Subject: Add invincible friendly bunny you can talk to --- definitions.gbasm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'definitions.gbasm') diff --git a/definitions.gbasm b/definitions.gbasm index d3f2ac5..30fc296 100644 --- a/definitions.gbasm +++ b/definitions.gbasm @@ -152,7 +152,8 @@ .DEFINE mem_loaded_entities_indices $c8a8 ; Takes the memory from $c8a8 to $c8ae .DEFINE mem_loaded_enemies_indices $c8ab ; Takes the memory from $c8ab to $c8ae -.DEFINE mem_loaded_entities_indices_end $c8af ; Takes the memory from $c8a8 to $c8ae +.DEFINE mem_loaded_special_entity_index ($c8af) +.DEFINE mem_loaded_entities_indices_end $c8b0 ; Takes the memory from $c8a8 to $c8af .DEFINE mem_object_list $c900 ; Takes the memory from c900 to c97f ; struct objects { @@ -218,6 +219,8 @@ ; bit 3: blinking mode ; status: u8 ; ; bit 0: whether or not turns should be skipped +; ; 01: freeze +; ; 02: invincible ; mana: u8 ; _padding: u48 ; @@ -244,6 +247,13 @@ .DEFINE lcdc_guibg_tilemap $8d .DEFINE lcdc_mapbg_tilemap $87 +.DEFINE vram_entity_index $02 +.DEFINE vram_animation_index $62 +.DEFINE vram_character_index $80 +.DEFINE vram_icon_index $F0 +.DEFINE vram_bg_index $20 +.DEFINE vram_object_index $60 + ; HIGH_RAM: ; ; 80-85 ; Free to use as temporary variables -- cgit v1.2.3-70-g09d2