This shit needs debug NOW

This makes the ROM build with the Debug Room available. It requires a save file to be available to you.

I also removed the stupid jutsu button combo required to access it while selecting.
This commit is contained in:
Llinos Evans 2023-10-20 17:29:25 +01:00
parent 5e9e9b4b65
commit 55f4427fc1
2 changed files with 6 additions and 5 deletions

View file

@ -91,7 +91,7 @@ ifeq ($(DEBUG),1)
RGBASMFLAGS += -E
endif
$(pokecrystal_obj): RGBASMFLAGS +=
$(pokecrystal_obj): RGBASMFLAGS += -D _DEBUG
$(pokecrystal_vc_obj): RGBASMFLAGS += -D _CRYSTAL_VC
%.patch: vc/%.constants.sym %_vc.gbc %.gbc vc/%.patch.template

View file

@ -30,10 +30,11 @@ DEF DEBUGROOMMENU_NUM_PAGES EQU const_value
const DEBUGROOMMENUITEM_BT_BUG_POKE ; 14
_DebugRoom:
ldh a, [hJoyDown]
and SELECT | START
cp SELECT | START
ret nz
; This makes it less fussy to access - PvK
;ldh a, [hJoyDown]
;and SELECT | START
;cp SELECT | START
;ret nz
ldh a, [hDebugRoomMenuPage]
push af
xor a