save pronouns on level transition

This commit is contained in:
alison wright 2019-09-18 17:03:33 -04:00
parent 47d74c39cd
commit fd1888ab1c

View File

@ -44,6 +44,7 @@ void() SetChangeParms = {
parm7 = self.ammo_cells; parm7 = self.ammo_cells;
parm8 = self.weapon; parm8 = self.weapon;
parm9 = self.armortype * 100; parm9 = self.armortype * 100;
parm10 = self.pronoun;
}; };
void() SetNewParms = { void() SetNewParms = {
@ -56,6 +57,7 @@ void() SetNewParms = {
parm7 = 0; parm7 = 0;
parm8 = 1; parm8 = 1;
parm9 = 0; parm9 = 0;
parm10 = PRO_NONE;
}; };
void() DecodeLevelParms = { void() DecodeLevelParms = {
@ -74,6 +76,7 @@ void() DecodeLevelParms = {
self.ammo_cells = parm7; self.ammo_cells = parm7;
self.weapon = parm8; self.weapon = parm8;
self.armortype = parm9 * 0.01; self.armortype = parm9 * 0.01;
self.pronoun = parm10;
}; };
/* /*