joypad in its own file + optionally skip intro by compiling with DIRECT_TO_GAME

This commit is contained in:
2019-01-06 09:29:01 +01:00
parent 5753a7c1e7
commit 07803eae64
3 changed files with 72 additions and 63 deletions

View File

@@ -20,7 +20,9 @@ Start:
xor a
ldh [rIF], a
IF !DEF(DIRECT_TO_GAME)
call ScrollNintendoOut
ENDC
; disable screen
halt
@@ -68,6 +70,7 @@ Start:
ld bc, 20 * 18
call MemoryCopy
call InitJoypad
call InitAutomata
call InitEdit