1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
; unreferenced debug menu
Func_12661:
xor a
ld [wDebugMenuSelection], a
ld [wDebugBoosterSelection], a
ld a, $03
ld [wDebugSGBBorder], a
.asm_1266d
call DisableLCD
ld a, $00
ld [wTileMapFill], a
call EmptyScreen
call LoadSymbolsFont
lb de, $30, $7f
call SetupText
call Func_3ca0
call Func_12871
ld a, $01
ld [wLineSeparation], a
ld a, [wDebugMenuSelection]
ld hl, Unknown_128f7
call InitAndPrintMenu
call EnableLCD
.asm_12698
call DoFrameIfLCDEnabled
call HandleMenuInput
jr nc, .asm_12698
ldh a, [hCurMenuItem]
bit 7, a
jr nz, .asm_12698
ld [wDebugMenuSelection], a
xor a
ld [wLineSeparation], a
call Func_126b3
jr c, .asm_1266d
ret
Func_126b3:
ldh a, [hCurMenuItem]
ld hl, Unknown_126bb
jp JumpToFunctionInTable
Unknown_126bb:
dw _GameLoop
dw DebugDuelMode
dw MainMenu_ContinueFromDiary
dw DebugCGBTest
dw DebugSGBFrame
dw DebugStandardBGCharacter
dw DebugLookAtSprite
dw DebugVEffect
dw DebugCreateBoosterPack
dw DebugCredits
dw DebugQuit
|