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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user