Just because I like to document everything. Never know who might find this useful.
The time until you pass out is based on number of steps the character takes. I am actually making this value a 3 byte value rather than 2 because I am odd like that and like to know how many steps I have taken in a game. The glacier zeroes the 2 byte value (which I will be stopping/nopping in my tweak) and when it reaches 220h (544 steps, around 2.5 minutes), you pass out.
For anyone who cares, the actual pass out value of 544 steps .
The value is set and checked in flevel script. Like
move_s > group 0 > s0-main
variable [14][6]
The main comparison in code is at 00611CCC. If it equals 220h, it adds 1 to al, and this is the pass-out flag.
cmp esi,edx
setge al
esi: current number of steps
edx: 220
if esi=edx then add 1 to al.
If you want to have no passing out, then just nop the instruction "setge al"
This will mean the flag is never set.
in ff7.exe, set
002110CE = 90
002110CF = 90
002110D0 = 90
If you want to set the actual number of steps to pass out
(65535 maximum. To give you an idea, running speed is around 3.6 steps a second, so 65535 is
around 5 hours) then you will have to change script with Makou Reactor.