summaryrefslogtreecommitdiff
path: root/src/hram.asm
blob: 8f4adbb5305e9dc9f2cd7e8219efd54b552b4d25 (plain)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
SECTION "HRAM", HRAM

hBankROM:: ; ff80
	ds 1

hBankSRAM:: ; ff81
	ds 1

hBankVRAM:: ; ff82
	ds 1

hDMAFunction:: ; ff83
	ds 10

hDPadRepeat:: ; ff8d
	ds 1

hButtonsReleased:: ; ff8e
	ds 1

hButtonsPressed2:: ; ff8f
	ds 1

hButtonsHeld:: ; ff90
	ds 1

hButtonsPressed:: ; ff91
	ds 1

hSCX:: ; ff92
	ds 1

hSCY:: ; ff93
	ds 1

hWX:: ; ff94
	ds 1

hWY:: ; ff95
	ds 1

hff96:: ; ff96
	ds 1

; $c2 = player ; $c3 = opponent
hWhoseTurn:: ; ff97
	ds 1

; deck index of a card (0-59)
hTempCardIndex_ff98:: ; ff98
	ds 1

	ds 4

; 0: arena card ; 1-5: bench card
hTempPlayAreaLocationOffset_ff9d:: ; ff9d
	ds 1

hAIActionTableIndex:: ; ff9e
	ds 1

hTempCardIndex_ff9f:: ; ff9f
	ds 1

; multipurpose temp storage
hffa0:: ; ffa0
	ds 1

hTempPlayAreaLocationOffset_ffa1:: ; ffa1
	ds 1

	ds 6

; hffa8 through hffb0 appear to be related to text processing
hffa8:: ; ffa8
	ds 1

hffa9:: ; ffa9
	ds 1

hffaa:: ; ffaa
	ds 1

hffab:: ; ffab
	ds 1

hffac:: ; ffac
	ds 1

hffad:: ; ffad
	ds 1

hffae:: ; ffae
	ds 1

hffaf:: ; ffaf
	ds 1

hffb0:: ; ffb0
	ds 1

hCurrentMenuItem:: ; ffb1
	ds 1

	ds 3

hffb5:: ; ffb5
	ds 1

; used in DivideBCbyDE
hffb6:: ; ffb6
	ds 1