The question mark blocks included with lx5's Powerups 3.4.4 were not inserted, so i used 'Question Mark Blocks v1.3.0' blocks
The original code didn't work, so I changed it to below.
This happens when the player hits this block from below or hits it with a shell or cape.
The item comes out from above, but after a while it moves to the side.
Or is there a way to fix the block included in the lx5's power-up patch to make it compatible with GPS 1.4.3?.
The original code didn't work, so I changed it to below.
Code
db $42 JMP MarioBelow : JMP MarioAbove : JMP MarioSide JMP SpriteV : JMP SpriteH JMP Cape : JMP Fireball JMP MarioCorner : JMP MarioInside : JMP MarioHead !Sprite = $02 ; sprite number !IsCustom = SEC ; CLC for normal, SEC custom sprite !State = $08 ; $08 for normal, $09 for carryable sprites !1540_val = $3E ; If you use powerups, this should be $3E ; Carryable sprites uses it as the (This part has not been edited, so it is omitted.) LDA #!ExtraByte1 STA !extra_byte_1,x LDA #!ExtraByte2 STA !extra_byte_2,x LDA #!ExtraByte3 STA !extra_byte_3,x LDA #!ExtraByte4 STA !extra_byte_4,x lda #$01 sta $02 lda $15E9|!addr pha stx $15E9|!addr %init_item() pla sta $15E9|!addr lda #$00 sta !7FAB10,x LDA !190F,x BPL Return2 LDA #$10 STA !15AC,x Return2: PLY PLX RTL print "A block which spawns a super leaf."
This happens when the player hits this block from below or hits it with a shell or cape.
The item comes out from above, but after a while it moves to the side.
Or is there a way to fix the block included in the lx5's power-up patch to make it compatible with GPS 1.4.3?.