let's dev 5/4/18
fixed duck map graphics and landing points
This commit is contained in:
@@ -470,8 +470,14 @@ Sprite_SetSpawnedCoords:
|
|||||||
org $09AD58
|
org $09AD58
|
||||||
GiveRupeeGift:
|
GiveRupeeGift:
|
||||||
|
|
||||||
org $1CFD69
|
org $0ABA4F
|
||||||
Main_ShowTextMessage:
|
OverworldMap_InitGfx:
|
||||||
|
|
||||||
|
org $0ABA99
|
||||||
|
OverworldMap_DarkWorldTilemap:
|
||||||
|
|
||||||
|
org $0ABAB9
|
||||||
|
OverworldMap_LoadSprGfx:
|
||||||
|
|
||||||
org $0DBA71
|
org $0DBA71
|
||||||
GetRandomInt:
|
GetRandomInt:
|
||||||
@@ -543,6 +549,9 @@ ShopKeeper_RapidTerminateReceiveItem:
|
|||||||
org $1CF500
|
org $1CF500
|
||||||
Sprite_NullifyHookshotDrag:
|
Sprite_NullifyHookshotDrag:
|
||||||
|
|
||||||
|
org $1CFD69
|
||||||
|
Main_ShowTextMessage:
|
||||||
|
|
||||||
org $1DF65D
|
org $1DF65D
|
||||||
Sprite_SpawnDynamically:
|
Sprite_SpawnDynamically:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
; Filtered Joypad 1 Register: [BYST | udlr] [AXLR | ????]
|
; Filtered Joypad 1 Register: [BYST | udlr] [AXLR | ????]
|
||||||
!INVERT_DPAD = "$7F50CB"
|
!INVERT_DPAD = "$7F50CB"
|
||||||
InvertDPad:
|
InvertDPad:
|
||||||
LDA !INVERT_DPAD : BEQ .normal
|
LDA !INVERT_DPAD : BNE + : BRL .normal : +
|
||||||
DEC : BEQ .dpadOnly
|
DEC : BEQ .dpadOnly
|
||||||
DEC : BEQ .buttonsOnly
|
DEC : BEQ .buttonsOnly
|
||||||
DEC : BEQ .invertBoth
|
DEC : BEQ .invertBoth
|
||||||
|
|||||||
13
events.asm
13
events.asm
@@ -143,6 +143,19 @@ OnOWTransition:
|
|||||||
PLP
|
PLP
|
||||||
RTL
|
RTL
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
!DARK_DUCK_TEMP = "$7F509C"
|
||||||
|
OnLoadDuckMap:
|
||||||
|
LDA !DARK_DUCK_TEMP
|
||||||
|
BNE +
|
||||||
|
INC : STA !DARK_DUCK_TEMP
|
||||||
|
JSL OverworldMap_InitGfx : DEC $0200
|
||||||
|
|
||||||
|
RTL
|
||||||
|
+
|
||||||
|
LDA.b #$00 : STA !DARK_DUCK_TEMP
|
||||||
|
JSL OverworldMap_DarkWorldTilemap
|
||||||
|
RTL
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
PreItemGet:
|
PreItemGet:
|
||||||
LDA.b #$01 : STA !ITEM_BUSY ; mark item as busy
|
LDA.b #$01 : STA !ITEM_BUSY ; mark item as busy
|
||||||
RTL
|
RTL
|
||||||
|
|||||||
@@ -58,6 +58,13 @@ org $02E21B ; <- 1621B - Bank02.asm : 11211 (STA $040C)
|
|||||||
JSL.l OnDungeonExit : NOP #2
|
JSL.l OnDungeonExit : NOP #2
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
;================================================================================
|
||||||
|
; Duck Map Load Hook
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
org $0AB76E ; <- 5376E - Bank0A.asm : 30 (JSL OverworldMap_InitGfx)
|
||||||
|
JSL.l OnLoadDuckMap
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
;================================================================================
|
;================================================================================
|
||||||
; Infinite Bombs / Arrows / Magic
|
; Infinite Bombs / Arrows / Magic
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ db #$00 ; #$00 = Press Start (default) - #$10 = Release Start
|
|||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
org $30804A ; PC 0x18004A
|
org $30804A ; PC 0x18004A
|
||||||
InvertedMode:
|
InvertedMode:
|
||||||
db #$01 ; #$00 = Normal (default) - #$01 = Inverted
|
db #$00 ; #$00 = Normal (default) - #$01 = Inverted
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
org $30804B ; PC 0x18004B
|
org $30804B ; PC 0x18004B
|
||||||
QuickSwapFlag:
|
QuickSwapFlag:
|
||||||
@@ -1382,6 +1382,10 @@ db $04
|
|||||||
;org $02E849 ; PC 0x16849 (Bank02.asm:11641)
|
;org $02E849 ; PC 0x16849 (Bank02.asm:11641)
|
||||||
;;dw $0003, $0016, $0018, $002C, $002F, $0030, $003B, $003F ; Light World Flute Spots
|
;;dw $0003, $0016, $0018, $002C, $002F, $0030, $003B, $003F ; Light World Flute Spots
|
||||||
;dw $0043, $0056, $0058, $006C, $006F, $0070, $007B, $007F ; Dark World Flute Spots
|
;dw $0043, $0056, $0058, $006C, $006F, $0070, $007B, $007F ; Dark World Flute Spots
|
||||||
|
;org $02E8D5 ; PC 0x168D5 (Bank02.asm:11661) ($07B7)
|
||||||
|
;dw $07C8 ; $07B7 - Normal Location 3 Y (Default), $07C7 - Inverted Location 3 Y
|
||||||
|
;org $02E8F7; PC 0x168F7 (Bank02.asm:11661) ($07B7)
|
||||||
|
;dw $01F8 ; $0200 - Normal Location 3 X (Default), $0200 - Inverted Location 3 X
|
||||||
;;--------------------------------------------------------------------------------
|
;;--------------------------------------------------------------------------------
|
||||||
;;Mirror
|
;;Mirror
|
||||||
;org $07A943 ; PC 0x3A943 (Bank07.asm:6548) (BNE)
|
;org $07A943 ; PC 0x3A943 (Bank07.asm:6548) (BNE)
|
||||||
@@ -1470,6 +1474,7 @@ dw #9999 ; Rupee Limit
|
|||||||
; $7F5099 - Last Entered Overworld Door ID
|
; $7F5099 - Last Entered Overworld Door ID
|
||||||
; $7F509A - (Reserved)
|
; $7F509A - (Reserved)
|
||||||
; $7F509B - MSU Flag
|
; $7F509B - MSU Flag
|
||||||
|
; $7F509C - Inverted Mode Duck Map Temporary
|
||||||
|
|
||||||
; $7F50A0 - Event Parameter 1
|
; $7F50A0 - Event Parameter 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user