Skate or Die! (NES) - RAM

From ROM Detectives Wiki
Jump to navigation Jump to search
Label-Main.svgLabel-RAM.svgLabel-ROM.svgLabel-Text.svgLabel-Lua.svg


USA

USA

Skate or Die! - NES - USA.png

Memory Addresses

0043 - Joust Opponent
	00 - Poseur Pete
	01 - Aggro' Eddie
	02 - Lester
005C - Passes (Joust, Freestyle, High Jump)
005D - Race Time: 100th of seconds (not displayed)
005E - Race Time: x:xx:9 (Race, Jam)
005F - Race Time: x:x9:x - Note: Add 1 to all time values 
0060 - Race Time: x:9x:x
0061 - Race Time: 9:xx:x - Minutes not displayed on Jam
0069 - P1 Joust Score
006A - P2 Joust Score
00A0 - Speed x1 (Freestyle, High Jump)
00A4 - Speed x140 (Freestyle, High Jump)
0321 - Player X position
06D7 - P1 Score: xxxx99 (Race, Freestyle, Jam)
06D8 - P1 Score: xx99xx
06D9 - P1 Score: 99xxxx
06DA - P2 Score: xxxx99 (Race, Freestyle, Jam)
06DB - P2 Score: xx99xx
06DC - P2 Score: 99xxxx

Code

Ramp Check For Max Speed

ROM Address: 19CF2
9CE2:A5 A4     LDA $00A4       ; Load Speed x140
9CE4:C9 03     CMP #$03        ; If it's less than 3, we're not at max speed, so skip routine
9CE6:90 10     BCC $9CF8       ; 
9CE8:D0 06     BNE $9CF0       ; 
9CEA:A5 A0     LDA $00A0       ; Load Speed x1
9CEC:C9 8C     CMP #$8C        ; If it's less than 140, we're not at top speed, so skip routine
9CEE:90 08     BCC $9CF8       ; 
9CF0:A9 03     LDA #$03        ; We're above top speed
9CF2:85 A4     STA $00A4       ; Drop Speed x140 to max
9CF4:A9 8C     LDA #$8C        ; 
9CF6:85 A0     STA $00A0       ; Drop Speed x1 to max
9CF8:20 05 9E  JSR $9E05       ;


Europe

Europe

Skate or Die! - NES - Europe.png