Originally posted by LX5
This happens because LM hasn't modified the level destinations in that level and it screws everything.
If this is the case, i suggest to report this on the thread about Lunar Magic.
Or fix the bug.
!ItemPosX1 = $E0 ; the X position of the item on the screen !ItemPosY1 = $C7 ; the Y position of the item on the screen
org $02AC18 db $80
db $42 JMP Return : JMP Return : JMP Return : JMP Return : JMP Return : JMP Return : JMP FIAR JMP Return : JMP Return : JMP Return FIAR: STZ $170B,x ; \ Erase fireball JSR SUB_SMOKE ; / Show smoke effect LDA #$06 ;\ STA $9C ; | Generate coin block JSL $00BEB0 ;/ Return: RTL SUB_SMOKE: LDY #$03 ; \ find a free slot to display effect FINDFREE: LDA $17C0,y ; | BEQ FOUNDONE ; | DEY ; | BPL FINDFREE ; | RTS ; / return if no slots open FOUNDONE: LDA #$01 ; \ set effect to smoke STA $17C0,y ; / LDA $1715,x ; \ set y pos of smoke STA $17C4,y ; / LDA $171F,x ; \ set x pos of smoke STA $17C8,y ; / LDA #$18 ; \ set smoke duration STA $17CC,y ; / RTS
LDA $170B,x CMP #$14 BEQ .iceball_found ;fireball code .iceball_found RTL
; Bits: ; 0 = Can't be killed by Hammer or Boomerang. ; 1 = Can't be frozen by Iceball. ; 2 = Can't be affected by Bubble (this makes the bubble pop) ; 3 = Can't be killed by Raccoon Mario's statue. ; 4 = Don't interact with the projectiles. ; 5 = Can interact with Raccoon Mario's statue (used to not kill platform/solid sprites). ; 6-7 = Unused.
CustomSpr: db $00,$00,$04,$00,$00,$00,$00,$00 ;Sprites 0-7 db $00,$00,$00,$00,$00,$00,$00,$00 ;Sprites 8-F