Associate reserved pointers directly to their values, rather than referencing magic SDFs

- String buffer referencing is no longer done via a pointer but instead by a magic value separate from the pointer system (it's still -8 though)
- String buffer now stored in universe instead of scenario
This commit is contained in:
2015-06-07 02:46:57 -04:00
parent 01d317b007
commit 543ccdc670
10 changed files with 81 additions and 105 deletions

View File

@@ -147,8 +147,7 @@ bool run_trap(short pc_num,eTrapType trap_type,short trap_level,short diff) {
break;
case TRAP_CUSTOM:
univ.party.force_ptr(5, 301, 4);
PSD[SDF_SPEC_TRAPLVL] = trap_level;
univ.party.force_ptr(15, trap_level);
break;
default: