Advertisement
Guest User

Untitled

a guest
Jun 14th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. <<<<<<<< .../fl-inlined/epilogues/setup.tra
  2. @1 = ~After <CHARNAME> ascended, Sarevok became a pirate. Soon after he found and adopted a Miniature Giant Space Parrot, and all was well.~
  3. @2 = ~After the evil Melissan was defeated, <CHARNAME> opted to remain mortal. Sarevok found this decision to be a real chin-scratcher.~
  4. >>>>>>>>
  5. LOAD_TRA ".../fl-inlined/epilogues/setup.tra"
  6.  
  7. <<<<<<<< .../fl-inlined/epilogues/old_ar6200.baf
  8. IF
  9. Global("StartEndBios","AR6200",1)
  10. InParty("Sarevok")
  11. Global("SarevokBio","GLOBAL",0)
  12. THEN
  13. RESPONSE #100
  14. SetGlobal("SarevokBio","GLOBAL",1)
  15. TextScreen("SAREVND")
  16. SmallWait(1)
  17. Continue()
  18. END
  19. >>>>>>>>
  20. <<<<<<<< .../fl-inlined/epilogues/new_ar6200.baf
  21. IF
  22. Global("StartEndBios","AR6200",1)
  23. InParty("Sarevok")
  24. Global("SarevokBio","GLOBAL",0)
  25. Global("PlayerChoseEssence","GLOBAL",1) // This is the variable for whether or not the player ascended; good/evil is determined elsewhere
  26. THEN
  27. RESPONSE #100
  28. SetGlobal("SarevokBio","GLOBAL",1)
  29. TextScreen("fl#sarv1")
  30. SmallWait(1)
  31. Continue()
  32. END
  33.  
  34. IF
  35. Global("StartEndBios","AR6200",1)
  36. InParty("Sarevok")
  37. Global("SarevokBio","GLOBAL",0)
  38. Global("PlayerChoseEssence","GLOBAL",0)
  39. THEN
  40. RESPONSE #100
  41. SetGlobal("SarevokBio","GLOBAL",1)
  42. TextScreen("fl#sarv2")
  43. SmallWait(1)
  44. Continue()
  45. END
  46. >>>>>>>>
  47.  
  48. // Create one 2da for each epilogue; there are many ways of doing this
  49. ACTION_FOR_EACH traref IN 1 2 BEGIN
  50. COPY_EXISTING sarevnd.2da "override/fl#sarv%traref%.2da" // The file name can be 8 characters at most, and must include a (your) modder prefix
  51. SET_2DA_ENTRY 1 2 3 RESOLVE_STR_REF ((AT traref))
  52. END
  53.  
  54. // This is not necessarily a good way of patching AR6200.BCS, but it is expedient
  55. COPY_EXISTING ar6200.bcs override
  56. REPLACE_BCS_BLOCK ".../fl-inlined/epilogues/old_ar6200.baf"
  57. ".../fl-inlined/epilogues/new_ar6200.baf"
  58. BUT_ONLY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement