Merged in DR v1.4.1.6
This commit is contained in:
67
enemizer/hooks/underworld_sprite_hooks.asm
Normal file
67
enemizer/hooks/underworld_sprite_hooks.asm
Normal file
@@ -0,0 +1,67 @@
|
||||
org $89C29A
|
||||
JSL LoadUnderworldSprites : NOP
|
||||
|
||||
; these hooks change the LDA.b ($00) commands to use LDA.b [$00] commands
|
||||
; so we can store the sprites in a different bank
|
||||
; also needs to change the use of $02 to $03 for slot index to make that possible
|
||||
|
||||
org $89C2B2
|
||||
LDA.b [$00]
|
||||
|
||||
org $89C2C1
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C2CA
|
||||
INC.b Scrap03 ; change slot variable to $03
|
||||
|
||||
;org $09C329 standing items overwrote this one
|
||||
;LDA.b [$00],Y
|
||||
|
||||
org $89C332
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C345
|
||||
DEC.b Scrap03 : LDX.b Scrap03
|
||||
|
||||
org $89C350
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C35A
|
||||
DEC.b Scrap03
|
||||
|
||||
org $89C36E
|
||||
JSL GetSpriteSlot16Bit ; depended on high bit being zero, which it isn't anymore
|
||||
|
||||
org $89C383
|
||||
LDX.b Scrap03
|
||||
|
||||
org $89C38C
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C398
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C3AA
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C3BF
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C3DF
|
||||
LDA.b Scrap03
|
||||
|
||||
org $89C3F3
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C3FB
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C404
|
||||
LDA.b [$00],Y
|
||||
|
||||
org $89C416
|
||||
LDA.b [$00],Y
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user