mirror of
https://github.com/pret/pokepinball.git
synced 2026-04-25 23:36:59 -05:00
Tilt data; several hardcoded constants and pointers (shut up, revo)
This commit is contained in:
parent
9cc1ed6017
commit
a2b354539c
12
compare.sh
Executable file
12
compare.sh
Executable 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
BIN
data/tilt/left_only
Normal file
Binary file not shown.
BIN
data/tilt/right_only
Normal file
BIN
data/tilt/right_only
Normal file
Binary file not shown.
BIN
data/tilt/up_left
Normal file
BIN
data/tilt/up_left
Normal file
Binary file not shown.
BIN
data/tilt/up_only
Normal file
BIN
data/tilt/up_only
Normal file
Binary file not shown.
BIN
data/tilt/up_right
Normal file
BIN
data/tilt/up_right
Normal file
Binary file not shown.
2
hram.asm
2
hram.asm
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user