diff --git a/Makefile b/Makefile index 6384a59..f89b849 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/engine/debug/debug_room.asm b/engine/debug/debug_room.asm index 245f31d..9ce8c61 100644 --- a/engine/debug/debug_room.asm +++ b/engine/debug/debug_room.asm @@ -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