Skip to content

Commit

Permalink
Merge pull request #9491 from Wingdinggaster656/Fix-monika_lastpoem
Browse files Browse the repository at this point in the history
Potentially illogical dialogue fixes
  • Loading branch information
jmwall24 authored Sep 18, 2022
2 parents 591d919 + 8f1a78a commit a756d4e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Monika After Story/game/script-topics.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -1644,12 +1644,16 @@ init 5 python:
eventlabel="monika_lastpoem",
category=['monika'],
prompt="Monika's last poem",
random=True
# the correct check is persistent.seen_colors_poem
# but our imports are messed up so we have to use persistent.playthrough >= 2
conditional="persistent.playthrough >= 2",
action=EV_ACT_RANDOM
)
)

label monika_lastpoem:
m 3eud "Hey, you remember that last poem I showed you?"

if not mas_safeToRefDokis():
m 3rssdlc "I mean, the one with all the messed-up colors and stuff."
else:
Expand All @@ -1665,7 +1669,8 @@ label monika_lastpoem:
show monika 5eua at t11 zorder MAS_MONIKA_Z with dissolve_monika
m 5eua "I'm happy with where we are now."
m 5hua "And I can tell you are, too."
return

return "derandom"

init 5 python:
addEvent(Event(persistent.event_database,eventlabel="monika_anxious",category=['psychology'],prompt="Sudden anxiety",random=True))
Expand Down
9 changes: 9 additions & 0 deletions Monika After Story/game/updates.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,15 @@ label v0_3_1(version=version): # 0.3.1
# 0.12.9.1
label v0_12_9_1(version="v0_12_9_1"):
python hide:
mas_hideEVL("monika_lastpoem", "EVE", derandom=True)

if not mas_seenEvent("monika_lastpoem"):
mas_setEVLPropValues(
"monika_lastpoem",
conditional="persistent.playthrough >= 2",
action=EV_ACT_RANDOM
)

if mas_seenLabels(['monika_solipsism']):
mas_protectedShowEVL("monika_materialism","EVE", _random=True)

Expand Down

0 comments on commit a756d4e

Please # to comment.