Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ;
- ; Line-Guide "Acts Like" Fix, by imamelia
- ;
- ; This patch makes the line guide processing routine depend on the "acts like"
- ; setting of the Map16 tiles rather than the tile number. This allows you to put
- ; line guide tiles anywhere on any Map16 page, as long as they act like the original
- ; tiles (or a tile set to act like one of the original tiles).
- ;
- ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- sa1rom
- org $01D99C
- autoclean JML LineGuideActFix
- freecode
- reset bytes
- LineGuideActFix:
- XBA
- LDA $7693
- REP #$30
- ASL
- ADC.l $06F624
- STA $0D
- SEP #$20
- LDA $06F626
- STA $0F
- REP #$20
- LDA [$0D]
- SEP #$30
- STA $7693
- XBA
- CMP #$02
- BCS LineGuideActFix
- CMP #$00
- JML $01D9A6
- print "Freespace used: ",bytes," bytes."
- print "Next address: $",pc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement