mirror of
https://github.com/zladx/LADX-Disassembly.git
synced 2024-11-23 21:09:40 +00:00
Conditionally set Cave Cavern map style
This commit is contained in:
parent
4c9d03e00b
commit
57c6cb120e
@ -1,61 +0,0 @@
|
||||
; Inventory-related constants
|
||||
|
||||
INVENTORY_SLOT_COUNT equ $0C
|
||||
|
||||
; Items
|
||||
INVENTORY_SWORD equ $01
|
||||
INVENTORY_BOMBS equ $02
|
||||
INVENTORY_POWER_BRACELET equ $03
|
||||
INVENTORY_SHIELD equ $04
|
||||
INVENTORY_BOW equ $05
|
||||
INVENTORY_HOOKSHOT equ $06
|
||||
INVENTORY_MAGIC_ROD equ $07
|
||||
INVENTORY_PEGASUS_BOOTS equ $08
|
||||
INVENTORY_OCARINA equ $09
|
||||
INVENTORY_ROCS_FEATHER equ $0A
|
||||
INVENTORY_SHOVEL equ $0B
|
||||
INVENTORY_MAGIC_POWDER equ $0C
|
||||
INVENTORY_BOOMERANG equ $0D
|
||||
|
||||
; Minimaps layout
|
||||
; Only $0, $11 and $30 are used in the final game
|
||||
INVENTORY_MINIMAP_SINGLE_FLOOR equ $00
|
||||
INVENTORY_MINIMAP_V_SPLIT_A equ $10
|
||||
INVENTORY_MINIMAP_V_SPBIT_A equ $11
|
||||
INVENTORY_MINIMAP_H_SPLIT_A equ $20
|
||||
INVENTORY_MINIMAP_H_SPLIT_B equ $21
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_A equ $30
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_B equ $31
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_C equ $32
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_D equ $33
|
||||
|
||||
|
||||
; Minimap *DATA* consts
|
||||
; Located here due to bug in rgbds 0.4.0
|
||||
; Minimap data is in src/data/minimaps.asm
|
||||
MINIMAP_ARROW_TAIL_CAVE equ 3
|
||||
MINIMAP_STYLE_TAIL_CAVE equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_BOTTLE_GROTTO equ 2
|
||||
MINIMAP_STYLE_BOTTLE_GROTTO equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_KEY_CAVERN equ 1
|
||||
MINIMAP_STYLE_KEY_CAVERN equ INVENTORY_MINIMAP_V_SPBIT_A
|
||||
|
||||
MINIMAP_ARROW_ANGLERS_TUNNEL equ 3
|
||||
MINIMAP_STYLE_ANGLERS_TUNNEL equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_CATFISHS_MAW equ 7
|
||||
MINIMAP_STYLE_CATFISHS_MAW equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_FACE_SHRINE equ 3
|
||||
MINIMAP_STYLE_FACE_SHRINE equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_EAGLES_TOWER equ 1
|
||||
MINIMAP_STYLE_EAGLES_TOWER equ INVENTORY_MINIMAP_FOUR_FLOORS_A
|
||||
|
||||
MINIMAP_ARROW_TURTLE_ROCK equ 3
|
||||
MINIMAP_STYLE_TURTLE_ROCK equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_COLOR_DUNGEON equ 2
|
||||
MINIMAP_STYLE_COLOR_DUNGEON equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
@ -1,61 +0,0 @@
|
||||
; Inventory-related constants
|
||||
|
||||
INVENTORY_SLOT_COUNT equ $0C
|
||||
|
||||
; Items
|
||||
INVENTORY_SWORD equ $01
|
||||
INVENTORY_BOMBS equ $02
|
||||
INVENTORY_POWER_BRACELET equ $03
|
||||
INVENTORY_SHIELD equ $04
|
||||
INVENTORY_BOW equ $05
|
||||
INVENTORY_HOOKSHOT equ $06
|
||||
INVENTORY_MAGIC_ROD equ $07
|
||||
INVENTORY_PEGASUS_BOOTS equ $08
|
||||
INVENTORY_OCARINA equ $09
|
||||
INVENTORY_ROCS_FEATHER equ $0A
|
||||
INVENTORY_SHOVEL equ $0B
|
||||
INVENTORY_MAGIC_POWDER equ $0C
|
||||
INVENTORY_BOOMERANG equ $0D
|
||||
|
||||
; Minimaps layout
|
||||
; Only $0, $11 and $30 are used in the final game
|
||||
INVENTORY_MINIMAP_SINGLE_FLOOR equ $00
|
||||
INVENTORY_MINIMAP_V_SPLIT_A equ $10
|
||||
INVENTORY_MINIMAP_V_SPBIT_A equ $11
|
||||
INVENTORY_MINIMAP_H_SPLIT_A equ $20
|
||||
INVENTORY_MINIMAP_H_SPLIT_B equ $21
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_A equ $30
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_B equ $31
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_C equ $32
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_D equ $33
|
||||
|
||||
|
||||
; Minimap *DATA* consts
|
||||
; Located here due to bug in rgbds 0.4.0
|
||||
; Minimap data is in src/data/minimaps.asm
|
||||
MINIMAP_ARROW_TAIL_CAVE equ 3
|
||||
MINIMAP_STYLE_TAIL_CAVE equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_BOTTLE_GROTTO equ 2
|
||||
MINIMAP_STYLE_BOTTLE_GROTTO equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_KEY_CAVERN equ 1
|
||||
MINIMAP_STYLE_KEY_CAVERN equ INVENTORY_MINIMAP_V_SPBIT_A
|
||||
|
||||
MINIMAP_ARROW_ANGLERS_TUNNEL equ 3
|
||||
MINIMAP_STYLE_ANGLERS_TUNNEL equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_CATFISHS_MAW equ 7
|
||||
MINIMAP_STYLE_CATFISHS_MAW equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_FACE_SHRINE equ 3
|
||||
MINIMAP_STYLE_FACE_SHRINE equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_EAGLES_TOWER equ 1
|
||||
MINIMAP_STYLE_EAGLES_TOWER equ INVENTORY_MINIMAP_FOUR_FLOORS_A
|
||||
|
||||
MINIMAP_ARROW_TURTLE_ROCK equ 3
|
||||
MINIMAP_STYLE_TURTLE_ROCK equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_COLOR_DUNGEON equ 2
|
||||
MINIMAP_STYLE_COLOR_DUNGEON equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
@ -1,61 +0,0 @@
|
||||
; Inventory-related constants
|
||||
|
||||
INVENTORY_SLOT_COUNT equ $0C
|
||||
|
||||
; Items
|
||||
INVENTORY_SWORD equ $01
|
||||
INVENTORY_BOMBS equ $02
|
||||
INVENTORY_POWER_BRACELET equ $03
|
||||
INVENTORY_SHIELD equ $04
|
||||
INVENTORY_BOW equ $05
|
||||
INVENTORY_HOOKSHOT equ $06
|
||||
INVENTORY_MAGIC_ROD equ $07
|
||||
INVENTORY_PEGASUS_BOOTS equ $08
|
||||
INVENTORY_OCARINA equ $09
|
||||
INVENTORY_ROCS_FEATHER equ $0A
|
||||
INVENTORY_SHOVEL equ $0B
|
||||
INVENTORY_MAGIC_POWDER equ $0C
|
||||
INVENTORY_BOOMERANG equ $0D
|
||||
|
||||
; Minimaps layout
|
||||
; Only $0, $11 and $30 are used in the final game
|
||||
INVENTORY_MINIMAP_SINGLE_FLOOR equ $00
|
||||
INVENTORY_MINIMAP_V_SPLIT_A equ $10
|
||||
INVENTORY_MINIMAP_V_SPBIT_A equ $11
|
||||
INVENTORY_MINIMAP_H_SPLIT_A equ $20
|
||||
INVENTORY_MINIMAP_H_SPLIT_B equ $21
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_A equ $30
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_B equ $31
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_C equ $32
|
||||
INVENTORY_MINIMAP_FOUR_FLOORS_D equ $33
|
||||
|
||||
|
||||
; Minimap *DATA* consts
|
||||
; Located here due to bug in rgbds 0.4.0
|
||||
; Minimap data is in src/data/minimaps.asm
|
||||
MINIMAP_ARROW_TAIL_CAVE equ 3
|
||||
MINIMAP_STYLE_TAIL_CAVE equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_BOTTLE_GROTTO equ 2
|
||||
MINIMAP_STYLE_BOTTLE_GROTTO equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_KEY_CAVERN equ 1
|
||||
MINIMAP_STYLE_KEY_CAVERN equ INVENTORY_MINIMAP_V_SPBIT_A
|
||||
|
||||
MINIMAP_ARROW_ANGLERS_TUNNEL equ 3
|
||||
MINIMAP_STYLE_ANGLERS_TUNNEL equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_CATFISHS_MAW equ 7
|
||||
MINIMAP_STYLE_CATFISHS_MAW equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_FACE_SHRINE equ 3
|
||||
MINIMAP_STYLE_FACE_SHRINE equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_EAGLES_TOWER equ 1
|
||||
MINIMAP_STYLE_EAGLES_TOWER equ INVENTORY_MINIMAP_FOUR_FLOORS_A
|
||||
|
||||
MINIMAP_ARROW_TURTLE_ROCK equ 3
|
||||
MINIMAP_STYLE_TURTLE_ROCK equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_COLOR_DUNGEON equ 2
|
||||
MINIMAP_STYLE_COLOR_DUNGEON equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
@ -40,7 +40,11 @@ MINIMAP_ARROW_BOTTLE_GROTTO equ 2
|
||||
MINIMAP_STYLE_BOTTLE_GROTTO equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
||||
MINIMAP_ARROW_KEY_CAVERN equ 1
|
||||
IF __SPLIT_KEY_CAVERN_MAP__
|
||||
MINIMAP_STYLE_KEY_CAVERN equ INVENTORY_MINIMAP_V_SPBIT_A
|
||||
ELSE
|
||||
MINIMAP_STYLE_KEY_CAVERN equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
ENDC
|
||||
|
||||
MINIMAP_ARROW_ANGLERS_TUNNEL equ 3
|
||||
MINIMAP_STYLE_ANGLERS_TUNNEL equ INVENTORY_MINIMAP_SINGLE_FLOOR
|
||||
|
@ -68,6 +68,7 @@ __PATCH_B__ = 0 ; 1 in JP/DE, 2 in FR
|
||||
__PATCH_C__ = FALSE ; Applies to EN
|
||||
__DO_CHECK_DAKUTEN__ = FALSE ; TRUE in JP, DE
|
||||
__USE_FIXED_DIALOG_BANKS__ = FALSE ; TRUE in JP
|
||||
__SPLIT_KEY_CAVERN_MAP__ = TRUE ; FALSE in EN
|
||||
|
||||
; Default values
|
||||
MINIMAP_VAR_0 = $EC
|
||||
@ -120,6 +121,7 @@ FILE_64 = $64
|
||||
EASTER_EGG_FILENAME_1 equs "ZELDA"
|
||||
EASTER_EGG_SONG_1 equ $60 ; MUSIC_ZELDA_NICKNAME_EASTER_EGG
|
||||
THIEF_NAME equs "THIEF"
|
||||
__SPLIT_KEY_CAVERN_MAP__ = FALSE
|
||||
__PATCH_C__ = TRUE
|
||||
IF (VERSION > 0)
|
||||
__PATCH_0__ = TRUE
|
||||
|
Loading…
Reference in New Issue
Block a user