blob: 5a9c5fe8db68d285617af648553ffebe3326e577 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
.segment "CODE"
.scope Background
;; Screen coordinates on the Y axis for the ground.
GROUND_Y_COORD = $C8
;; To make them easier to traverse when performing background collision
;; checking, each platform is laid out in tile coordinates and spanning
;; three bytes: tile row, tile column beginning, tile column end.
platforms:
;; Top of the screen.
.byte $03, $00, $FF
;; Left platform.
.byte $09, $18, $1D
;; Center platform.
.byte $0C, $03, $08
;; Right platform.
.byte $0F, $0F, $12
;; Ground.
.byte $19, $00, $FF
;; End of the list.
.byte $FF
.endscope
|