Decompile scenarioCtcReset

This commit is contained in:
Ryan Dwyer 2022-01-06 21:47:18 +10:00
parent 34f7098bb5
commit 98687a6d95
3 changed files with 187 additions and 926 deletions

View File

@ -10684,7 +10684,7 @@ void botTickUnpaused(struct chrdata *chr)
s32 numtokens = 0;
for (i = 0; i != 4; i++) {
if (i != botteamindex && g_ScenarioData.ctc.unk00[i]) {
if (i != botteamindex && g_ScenarioData.ctc.playercountsperteam[i]) {
if (g_ScenarioData.ctc.tokens[i]->type == PROPTYPE_WEAPON
|| g_ScenarioData.ctc.tokens[i]->type == PROPTYPE_OBJ) {
// Token is not held

File diff suppressed because it is too large Load Diff

View File

@ -4806,7 +4806,7 @@ struct ctcspawnpadsperteam {
};
struct scenariodata_ctc {
/*0x00*/ s16 unk00[4]; // teams enabled?
/*0x00*/ s16 playercountsperteam[4];
/*0x08*/ s16 teamindexes[4];
/*0x10*/ s16 baserooms[4];
/*0x18*/ struct ctcspawnpadsperteam spawnpadsperteam[4];