Skip to content

Commit

Permalink
Bugfix: Curse TM cannot be obtained sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
SoupPotato committed May 28, 2024
1 parent 10cc2a8 commit 4eee998
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion constants/event_flags.asm
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
const EVENT_CINNABAR_ROCKS_CLEARED
const EVENT_CLEARED_NUGGET_BRIDGE
const EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER
const EVENT_GOT_TM03_CURSE
const_skip ; unused in Sour Crystal. Caused issues, new method of checking is used.
const EVENT_GOT_CLEANSE_TAG
const EVENT_GOT_TM19_GIGA_DRAIN
const EVENT_GOT_TM06_TOXIC
Expand Down
3 changes: 1 addition & 2 deletions maps/CeladonMansionRoofHouse.asm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CeladonMansionRoofHouse_MapScripts:
CeladonMansionRoofHousePharmacistScript:
faceplayer
opentext
checkevent EVENT_GOT_TM03_CURSE
checkitem TM_CURSE
iftrue .GotCurse
writetext CeladonMansionRoofHousePharmacistIntroText
promptbutton
Expand All @@ -25,7 +25,6 @@ CeladonMansionRoofHousePharmacistScript:
promptbutton
verbosegiveitem TM_CURSE
iffalse .NoRoom
setevent EVENT_GOT_TM03_CURSE
.GotCurse:
writetext CeladonMansionRoofHousePharmacistCurseText
waitbutton
Expand Down

0 comments on commit 4eee998

Please sign in to comment.