summaryrefslogtreecommitdiff
path: root/utils/extractrostertbltbl.c
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2014-11-18 16:28:47 -0700
committerIIMarckus <iimarckus@gmail.com>2014-11-18 16:28:47 -0700
commit8551c4142b8fcadbf7903a0b71e56822bf33fa40 (patch)
treee1c717d56aaac312120280e6ccf786e3e18f3b1e /utils/extractrostertbltbl.c
parentab918448ab285f18bd6365383d85b84f1c603d7f (diff)
“unknown2” is happiness.
Diffstat (limited to 'utils/extractrostertbltbl.c')
-rw-r--r--utils/extractrostertbltbl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/extractrostertbltbl.c b/utils/extractrostertbltbl.c
index d24dbde..35676e2 100644
--- a/utils/extractrostertbltbl.c
+++ b/utils/extractrostertbltbl.c
@@ -1326,7 +1326,7 @@ main(int argc, char *argv[])
fprintf(outfile, "\t\"unknown2\": \"0x%x\",\n", byte);
}
if ((byte = fgetc(rom)) != 0) {
- fprintf(outfile, "\t\"unknown3\": \"0x%x\",\n", byte);
+ fprintf(outfile, "\t\"happiness\": \"0x%x\",\n", byte);
}
byte = fgetc(rom) << 8;
@@ -1414,7 +1414,7 @@ main(int argc, char *argv[])
fprintf(outfile, "\t\t\"unknown2\": \"0x%x\",\n", byte);
}
if ((byte = fgetc(rom)) != 0) {
- fprintf(outfile, "\t\t\"unknown3\": \"0x%x\",\n", byte);
+ fprintf(outfile, "\t\t\"happiness\": \"0x%x\",\n", byte);
}
byte = fgetc(rom) << 8;
byte |= fgetc(rom);
@@ -1447,7 +1447,7 @@ main(int argc, char *argv[])
}
for (; mon < 6; ++mon) {
- /* if a team has less than six mons, the blank spaces are filled by: level1 bulbasaur, unknown3 = 0x7f, DVs = 0x6777 */
+ /* if a team has less than six mons, the blank spaces are filled by: level1 bulbasaur, happiness = 0x7f, DVs = 0x6777 */
fgetc(rom);
fgetc(rom);
fgetc(rom);