Tilt data; several hardcoded constants and pointers (shut up, revo)

This commit is contained in:
PikalaxALT 2016-12-04 12:47:52 -05:00
parent 9cc1ed6017
commit a2b354539c
9 changed files with 48291 additions and 48177 deletions

12
compare.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
# Compares baserom.gbc and pokepinball.gbc
# create baserom.txt if necessary
if [ ! -f baserom.txt ]; then
hexdump -C baserom.gbc > baserom.txt
fi
hexdump -C pokepinball.gbc > pokepinball.txt
diff -u baserom.txt pokepinball.txt | less

BIN
data/tilt/left_only Normal file

Binary file not shown.

BIN
data/tilt/right_only Normal file

Binary file not shown.

BIN
data/tilt/up_left Normal file

Binary file not shown.

BIN
data/tilt/up_only Normal file

Binary file not shown.

BIN
data/tilt/up_right Normal file

Binary file not shown.

View File

@ -1,3 +1,5 @@
hPushOAM EQU $FF80
hJoypadState EQU $FF98 ; current state of buttons. See joy_constants.asm for which bits
; correspond to which buttons.
hNewlyPressedButtons EQU $FF99 ; buttons that were pressed in the current frame.

View File

@ -22,6 +22,10 @@ dn: MACRO
endr
ENDM
dr: MACRO
INCBIN "baserom.gbc", \1, \2 - \1
ENDM
dx: MACRO
x = 8 * ((\1) - 1)
rept \1

96450
main.asm

File diff suppressed because it is too large Load Diff