summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2016-08-01 22:52:52 -0700
committerMarcus Huderle <huderlem@gmail.com>2016-08-01 22:53:21 -0700
commit4d911ea86fa66162fb361e6e920bb77ed1aeb8cc (patch)
tree8621b65401dbba505622bdf959caf01e328ca5ab /include
parent0a73fc4885aa3c4a15fe675c0ffbb8a6811605f1 (diff)
Label SaveBlock2.optionsTextBoxFrameType. Label gSaveBlock2.
Diffstat (limited to 'include')
-rw-r--r--include/global.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index 5e6bd5bd4..65700837f 100644
--- a/include/global.h
+++ b/include/global.h
@@ -39,6 +39,9 @@ struct Time
struct SaveBlock2
{
u8 playerName[8];
+
+ // 0 = Male
+ // 1 = Female
u8 playerGender;
u8 sb2_field_9;
u8 playerTrainerId[4];
@@ -46,9 +49,19 @@ struct SaveBlock2
u8 playTimeMinutes;
u8 playTimeSeconds;
u8 playTimeVBlanks;
+
+ // 0 = "NORMAL"
+ // 1 = "LR"
+ // 2 = "L=A"
u8 optionsButtonMode;
+
+ // 0 = "SLOW"
+ // 1 = "MID"
+ // 2 = "FAST"
u8 optionsTextSpeed:3;
- u8 optionsUnk:5;
+
+ // Specifies one of the 20 decorative borders for text boxes
+ u8 optionsTextBoxFrameType:5;
u8 filler[0x83];
struct Time localTimeOffset;
};