Skip to content

Commit

Permalink
Fixed 1.11 timer starting slightly later than it's supposed to, and i…
Browse files Browse the repository at this point in the history
…mproved performance by removing a constant "print"
  • Loading branch information
NintwnDude879 committed Nov 28, 2022
1 parent d77cbed commit f97ad8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FNaFSBAutoSplitter.asl
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ state("fnaf9-Win64-Shipping", "v1.07"){
//base address change: 8C00
state("fnaf9-Win64-Shipping", "v1.11"){
//Keeps track of Freddy's battery popup
int freddyThing: 0x044288B0, 0x128, 0x310, 0x120, 0x18C;
bool freddyThing: 0x044288B0, 0x128, 0x310, 0x120, 0x18C;

//Arcade pointers
int golfStrokeCount: 0x044288B0, 0x128, 0x378, 0x270, 0x230, 0x40;
Expand Down Expand Up @@ -1336,7 +1336,7 @@ start {
}
}
else if (version == "v1.11"){
if (current.freddyThing == 1 && old.freddyThing == 0){
if (current.freddyThing && !old.freddyThing){
print("Start Timer");
return true;
}
Expand Down

0 comments on commit f97ad8d

Please sign in to comment.