Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GoFlag = $60
- DestX = $0F3A ;\16 - Bit!!!
- DestY = $0F3C ;/
- dcb "INIT"
- RTL
- dcb "MAIN"
- ;LDA $18
- ;AND #$80
- ;BNE NoContact
- LDA #$01
- STA GoFlag
- LDA $00E4,y ;\
- STA DestX+1 ;|
- LDA $00D8,y ;|
- STA DestY+1 ;|Sets Target coordinates
- LDA $14E0,y ;|
- STA DestX ;|
- LDA $14D4,y ;|
- STA DestY ;/
- LDA #$06 ;\SFX
- STA $1DFC ;/
- JSL $01A7DC ; Check for Mario/sprite contact ..
- BCC NoContact ; Return if there isn't.
- LDA #$28
- STA $1DFC
- STZ !GoFlag
- NoContact:
- LDA DestY+1
- CMP $97
- BCC Dontjump
- LDA DestY
- CMP $96
- BCC Dontjump
- LDA $72
- BNE Dontjump
- LDA #$AA
- STA $7D
- Dontjump:
- LDA DestX+1
- CMP $95
- BCC MoveRight
- LDA DestX
- CMP $94
- BCC MoveRight
- LDA #-37
- STA $7B
- BRA JumpyGraphics
- MoveRight:
- LDA DestX+1
- CMP $95
- BCS JumpyGraphics
- LDA DestX
- CMP $94
- BCS JumpyGraphics
- LDA #37
- STA $7B
- JumpyGraphics:
- JSR Graphics ; This routine controls graphics.
- RTL ; After the graphics routine is over, return.
- temp.log:
- 65816 Tricks Assembler Version 1.11 (C)opyright 1994 1000 Miles [Tricks]
- Internet: [email protected], IRC: minus
- Memory available: 2147483647
- Starting address defined as $92BD6D
- Pass 1
- Error in 55.1/46: Unknown error #1
- Pass 2
- Error in 55.1/46: Unknown error #1
- Pass 3
- Error in 55.1/46: Unknown error #1
- Source code assembled.
- Although the source code was assembled, the program may not run
- properly due to errors detected during the assembling process.
- [$92BD6D-$92BE80]
- Lines=182
- Statements=158
- Symbols=15
- Errors=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement