Skip to content

Commit

Permalink
Fix crash when claiming YacaPoint rewards
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruin0x11 committed Sep 5, 2021
1 parent 9ad0d8a commit df4ad5c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 2.05-custom-gx/action.hsp
Original file line number Diff line number Diff line change
Expand Up @@ -11825,7 +11825,7 @@
txt lang("「足りないんよ」", cnvtalk("Not enough!"))
goto *act_use_SWEND1
}
txt txt_questitem
txt_questitem
gdata(GDATA_FLAG_YACA_POINTS) -= 300
flt
itemcreate -1, ITEM_ID_LONG_PILLAR, cdata(CDATA_X, CHARA_PLAYER), cdata(CDATA_Y, CHARA_PLAYER), 2
Expand Down Expand Up @@ -11858,7 +11858,7 @@
txt lang("「足りないんよ」", cnvtalk("Not enough!"))
goto *act_use_SWEND1
}
txt txt_questitem
txt_questitem
gdata(GDATA_FLAG_YACA_POINTS) -= 500
flt
itemcreate -1, ITEM_ID_OLD_GRAVE, cdata(CDATA_X, CHARA_PLAYER), cdata(CDATA_Y, CHARA_PLAYER), 0
Expand Down Expand Up @@ -11891,7 +11891,7 @@
txt lang("「足りないんよ」", cnvtalk("Not enough!"))
goto *act_use_SWEND1
}
txt txt_questitem
txt_questitem
gdata(GDATA_FLAG_YACA_POINTS) -= 1000
flt
itemcreate -1, ITEM_ID_RICE_BALL, cdata(CDATA_X, CHARA_PLAYER), cdata(CDATA_Y, CHARA_PLAYER), 360
Expand All @@ -11908,7 +11908,7 @@
txt lang("「足りないんよ」", cnvtalk("Not enough!"))
goto *act_use_SWEND1
}
txt txt_questitem
txt_questitem
gdata(GDATA_FLAG_YACA_POINTS) -= 2000
flt
itemcreate -1, ITEM_ID_CEREMONY_ALTAR, cdata(CDATA_X, CHARA_PLAYER), cdata(CDATA_Y, CHARA_PLAYER), 0
Expand Down Expand Up @@ -11943,7 +11943,7 @@
txt lang("「足りないんよ」", cnvtalk("Not enough!"))
goto *act_use_SWEND1
}
txt txt_questitem
txt_questitem
gdata(GDATA_FLAG_YACA_POINTS) -= 50000
flt
itemcreate -1, ITEM_ID_CURARIA, cdata(CDATA_X, CHARA_PLAYER), cdata(CDATA_Y, CHARA_PLAYER), 40
Expand Down

0 comments on commit df4ad5c

Please sign in to comment.