Skip to content

Commit

Permalink
[bg] Mulahey stutter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDawg committed Oct 31, 2022
1 parent ccd6c60 commit 28022c6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions eefixpack/files/d/bgee_core_fixes.d
Expand Up @@ -8,6 +8,17 @@ REPLACE_TRIGGER_TEXT ~mtowbez~ ~Dead("bassil")~ ~Dead("bassilus")~
// broken DV check for bassilus
REPLACE_TRIGGER_TEXT ~ftowbe~ ~Dead("FLAMHUSB")~ ~Dead("FlamingE")~

// tbd, cam
// mulahey stutter fix (see also mulahey.bcs) https://www.gibberlings3.net/forums/topic/35178-scripting-bugs/#comment-308786
ADD_STATE_TRIGGER mulahe 3 ~Global("TalkedToMulahey","GLOBAL",0)~
SET_WEIGHT mulahe 7 #0
SET_WEIGHT mulahe 3 #1
SET_WEIGHT mulahe 0 #2
SET_WEIGHT mulahe 1 #3
SET_WEIGHT mulahe 5 #4
SET_WEIGHT mulahe 6 #5
SET_WEIGHT mulahe 8 #6

//tbd, cam
// tiax's broken charm dialogue, NVLOR for x2 talk
ALTER_TRANS tiax BEGIN 8 END BEGIN 0 END BEGIN ~REPLY~ ~~ END // blank dialogue text prevents exiting
Expand Down
9 changes: 9 additions & 0 deletions eefixpack/files/tph/bgee.tph
Expand Up @@ -593,6 +593,15 @@ COPY_EXISTING ~bddefai.bcs~ ~override~
// make gretek and friends go hostile more reliably (see also arlin.cre et al, gretek.dlg)
COMPILE ~eefixpack/files/baf/gretek.baf~

// tbd, cam
// mulahey stutter fix (see also mulahe.dlg) https://www.gibberlings3.net/forums/topic/35178-scripting-bugs/#comment-308786
COPY_EXISTING ~mulahey.bcs~ ~override~
DECOMPILE_AND_PATCH BEGIN
REPLACE_TEXTUALLY ~\(Global("\(CDMulahey\|TalkedToMulahey\)","\(AR5405\|GLOBAL\)",0)\)~ ~\1 !StateCheck(Myself,STATE_CHARMED)~
REPLACE_TEXTUALLY ~\(Allegiance(Myself,NEUTRAL)\)~ ~\1 !StateCheck(Myself,STATE_CHARMED)~
END
BUT_ONLY

// tbd, cam
// region/container scripts can't use LOCALS-scoped variables
// https://www.gibberlings3.net/forums/topic/35914-scripting-using-locals-in-non-sprite-triggers/
Expand Down

0 comments on commit 28022c6

Please sign in to comment.