OldValue: .res 1 ; Temp for MoveCheck routine
NewValue: .res 1 ; Temp for MoveCheck routine
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.byte 0, 0 ; OldPotX/OldPotY
.word SCREEN_HEIGHT/2 ; YPos
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT/2 ; YPos
.word SCREEN_WIDTH/2 ; XPos
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT/2 ; YPos
.word SCREEN_WIDTH/2 ; XPos
OldValue: .res 1 ; Temp for MoveCheck routine
NewValue: .res 1 ; Temp for MoveCheck routine
-; Default values for above variables
-
.rodata
+; Default values for below variables
; (We use ".proc" because we want to define both a label and a scope.)
.proc DefVars
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT/2 ; YPos
.word SCREEN_WIDTH/2 ; XPos
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT/2 ; YPos
.word SCREEN_WIDTH/2 ; XPos
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT / 2 ; YPos
.word SCREEN_WIDTH / 2 ; XPos