mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Expanded the functionality of Fallout1Behavior
* FO1 initial in-game time is 7:21 rather than 8:24.
This commit is contained in:
@@ -264,6 +264,7 @@ XltKey=0
|
||||
;- disables playing the final movie/credits after the endgame slideshow
|
||||
;- disables halving the weight for power armor items
|
||||
;- endgame_movie script function plays movie 10 or 11 based on the player's gender before the credits
|
||||
;- the initial in-game time is 7:21 rather than 8:24
|
||||
Fallout1Behavior=0
|
||||
|
||||
;Time limit in years. Must be between -3 and 13
|
||||
|
||||
@@ -773,6 +773,7 @@ static void F1EngineBehaviorPatch() {
|
||||
BlockCall(0x4A4343); // disable playing the final movie/credits after the endgame slideshow
|
||||
SafeWrite8(0x477C71, CodeType::JumpShort); // disable halving the weight for power armor items
|
||||
HookCall(0x43F872, endgame_movie_hook); // play movie 10 or 11 based on the player's gender before the credits
|
||||
SafeWrite32(0x4A5201, 264600); // change the initial in-game time to 7:21
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user