Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;move lotus positions to the pollen
- LDA #!lotuspollen_id
- STA $00
- LDA sprite.x_pos,x
- STA $02
- LDA sprite.y_pos,x
- STA $04
- LDA sprite.z_pos,x
- CLC
- ADC #$0003
- STA $06
- JSR spawn_sprite
- ; $00: sprite number
- ; $02: x position
- ; $04: y position
- ; $06: z position
- ; -> X: index
- LDY sprite.curr_index ;get back own index into Y
- LDX sprite.curr_index
- RTS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement