Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 3/5BF1 LDA #$D8
- 3/5BF3 STA $ED
- ->
- JSL <some fuckoffspace>
- 22 ZZ YY XX
- ->
- <some fuckoffspace>
- SEP #$10 ;; set 8-bit x
- LDX $4B ;; load menu cursor position
- LDA $9D89,X ;; load which spell it is
- REP #$10 ;; clear 8-bit x
- CMP #$20 ;; if spell is >= 32 then
- BCS <more> ;; goto <more>
- LDA #$D8 ;; initial location
- STA $ED
- RTL
- <more>
- LDX #$NEW_LOC_MID_LOW
- STX $EB ;; overwrite old pointer
- LDA #$NEW_HIGH
- STA $ED
- RTL
- E2 10 A6 4B BD 89 9D C2 10 C9 20 B0 05 A9 D8 85 ED 6B A2 ZZ YY 8E EB A9 XX 85 ED 6B
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement