enemize-rs/assembly/src/bossdrop.asm

22 lines
541 B
NASM

;================================================================================
; Fix boss item drop position to 'center' of screen
;================================================================================
change_heartcontainer_position:
{
PHA
LDA.b #$78 : STA $0D10, X
STA $0D00, X
LDA $23 : STA $0D30, X
LDA $21 : STA $0D20, X
LDA $A0 : CMP #$07 : BNE .not_moldorm_room
LDA $22 : STA $0D10, X
LDA $20 : STA $0D00, X
.not_moldorm_room
PLA
JSL $0684BD
RTL
}