Thank you tokumaru.tokumaru wrote:Yes.unregistered wrote:Would column 0 of nametable 0 be the start of the third screen?
---
Code: Select all
0C1CA camera_aim:
0C1CA
0C1CA ;determines how much to move based on the players position
0C1CA A5 03 lda oX+0 ;players position
0C1CC 38 sec
0C1CD E9 04 sbc #$04
0C1CF 85 1F sta CameraX+0 ;camera's position
0C1D1
0C1D1 A5 04 lda oX+1
0C1D3 E9 00 sbc #$00
0C1D5 85 20 sta CameraX+1
0C1D7
0C1D7 60 rts ;end of camera_aim