372 lines
16 KiB
Plaintext
372 lines
16 KiB
Plaintext
if (global.language == "jp")
|
|
draw_set_font(jpdialog4)
|
|
else if (global.language == "ch")
|
|
draw_set_font(ch_small)
|
|
else if (global.language == "kor")
|
|
draw_set_font(kor_fontsm)
|
|
else if (global.language == "rus")
|
|
draw_set_font(rusfontsm)
|
|
else
|
|
draw_set_font(recipefont3)
|
|
if (global.indexphase == "name")
|
|
draw_set_color(c_white)
|
|
else if introbutton_a.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_black)
|
|
draw_text((introbutton_a.x + 2), (introbutton_a.y + btyoffset), string(global.byname_str))
|
|
if (global.indexphase == "flavor")
|
|
draw_set_color(c_white)
|
|
else if introbutton_b.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_black)
|
|
draw_text((introbutton_b.x + 2), (introbutton_a.y + btyoffset), string(global.byflavor_str))
|
|
if (global.indexphase == "type")
|
|
draw_set_color(c_white)
|
|
else if introbutton_c.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_black)
|
|
draw_text((introbutton_c.x + 2), (introbutton_a.y + btyoffset), string(global.bytype_str))
|
|
if (global.indexphase == "ex")
|
|
draw_set_color(c_white)
|
|
else if introbutton_d.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_black)
|
|
draw_text((introbutton_d.x + 2), (introbutton_a.y + btyoffset), string(global.bottleddrinks_str))
|
|
if (global.indexphase == "home" && global.recipeindex == 0)
|
|
{
|
|
if (global.cur_day == 11 && global.cur_stage >= 8)
|
|
draw_sprite(introalma, -1, (recipebook.x + 4), (recipebook.y + 15))
|
|
else
|
|
draw_sprite(intro, -1, (recipebook.x + 4), (recipebook.y + 15))
|
|
}
|
|
draw_set_color(c_white)
|
|
if (global.language == "jp")
|
|
draw_set_font(jpdialog2)
|
|
else if (global.language == "ch")
|
|
draw_set_font(ch_small)
|
|
else if (global.language == "kor")
|
|
draw_set_font(kor_fontsm)
|
|
else if (global.language == "rus")
|
|
draw_set_font(rusfontsm)
|
|
else
|
|
draw_set_font(recipefont4)
|
|
if (global.indexphase == "name")
|
|
{
|
|
draw_text((x + 25), (y + 45), string(global.searchbyname_str))
|
|
if (global.recipemode == "b")
|
|
draw_set_color(c_white)
|
|
else if bc1.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bc1.x + 20), (bc1.y + 4), string(global.b_str))
|
|
if (global.recipemode == "c")
|
|
draw_set_color(c_white)
|
|
else if bc2.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bc2.x + 20), (bc2.y + 4), string(global.c_str))
|
|
if (global.recipemode == "f")
|
|
draw_set_color(c_white)
|
|
else if bc3.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bc3.x + 20), (bc3.y + 4), string(global.f_str))
|
|
if (global.recipemode == "g")
|
|
draw_set_color(c_white)
|
|
else if bc4.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bc4.x + 20), (bc4.y + 4), string(global.g_str))
|
|
if (global.recipemode == "m")
|
|
draw_set_color(c_white)
|
|
else if bc5.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bc5.x + 20), (bc5.y + 4), string(global.m_str))
|
|
if (global.recipemode == "p")
|
|
draw_set_color(c_white)
|
|
else if bc6.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bc6.x + 20), (bc6.y + 4), string(global.p_str))
|
|
if (global.recipemode == "s")
|
|
draw_set_color(c_white)
|
|
else if bc7.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bc7.x + 20), (bc7.y + 4), string(global.s_str))
|
|
}
|
|
else if (global.indexphase == "flavor")
|
|
{
|
|
draw_text((x + 25), (y + 45), string(global.searchbyflavor_str))
|
|
if (global.recipemode == "sweet")
|
|
draw_set_color(c_white)
|
|
else if bb1.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb1.x + 5), (bb1.y + 4), string(global.sweetdrinks_str))
|
|
if (global.recipemode == "bitter")
|
|
draw_set_color(c_white)
|
|
else if bb2.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb2.x + 5), (bb2.y + 4), string(global.bitterdrinks_str))
|
|
if (global.recipemode == "sour")
|
|
draw_set_color(c_white)
|
|
else if bb3.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb3.x + 5), (bb3.y + 4), string(global.sourdrinks_str))
|
|
if (global.recipemode == "spicy")
|
|
draw_set_color(c_white)
|
|
else if bb4.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb4.x + 5), (bb4.y + 4), string(global.spicydrinks_str))
|
|
if (global.recipemode == "bubbly")
|
|
draw_set_color(c_white)
|
|
else if bb5.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb5.x + 5), (bb5.y + 4), string(global.bubblydrinks_str))
|
|
}
|
|
else if (global.indexphase == "type")
|
|
{
|
|
draw_text((x + 25), (y + 45), string(global.searchbytype_str))
|
|
if (global.recipemode == "girly")
|
|
draw_set_color(c_white)
|
|
else if bb1.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb1.x + 5), (bb1.y + 4), string(global.girlydrinks_str))
|
|
if (global.recipemode == "manly")
|
|
draw_set_color(c_white)
|
|
else if bb2.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb2.x + 5), (bb2.y + 4), string(global.manlydrinks_str))
|
|
if (global.recipemode == "classic")
|
|
draw_set_color(c_white)
|
|
else if bb3.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb3.x + 5), (bb3.y + 4), string(global.classicdrinks_str))
|
|
if (global.recipemode == "classy")
|
|
draw_set_color(c_white)
|
|
else if bb4.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb4.x + 5), (bb4.y + 4), string(global.classydrinks_str))
|
|
if (global.recipemode == "promo")
|
|
draw_set_color(c_white)
|
|
else if bb5.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
draw_text((bb5.x + 5), (bb5.y + 4), string(global.promodrinks_str))
|
|
}
|
|
else if (global.indexphase == "ex")
|
|
{
|
|
}
|
|
if (global.indexphase != "home")
|
|
{
|
|
if (global.indexphase == "ex")
|
|
{
|
|
}
|
|
else
|
|
{
|
|
if ba1.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
if (global.recipemode == "sweet")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.sugarrush_str))
|
|
else if (global.recipemode == "bitter")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.sunshinecloud_str))
|
|
else if (global.recipemode == "sour")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.fluffydream_str))
|
|
else if (global.recipemode == "spicy")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.marsblast_str))
|
|
else if (global.recipemode == "bubbly")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.beer_str))
|
|
else if (global.recipemode == "girly")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.sugarrush_str))
|
|
else if (global.recipemode == "manly")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.gutpunch_str))
|
|
else if (global.recipemode == "classic")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.beer_str))
|
|
else if (global.recipemode == "classy")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.badtouch_str))
|
|
else if (global.recipemode == "promo")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.grizzlytemple_str))
|
|
else if (global.recipemode == "b")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.bluefairy_str))
|
|
else if (global.recipemode == "c")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.marsblast_str))
|
|
else if (global.recipemode == "f")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.fringeweaver_str))
|
|
else if (global.recipemode == "g")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.bloomlight_str))
|
|
else if (global.recipemode == "m")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.beer_str))
|
|
else if (global.recipemode == "p")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.sunshinecloud_str))
|
|
else if (global.recipemode == "s")
|
|
draw_text((ba1.x + 5), (ba1.y + 3), string(global.badtouch_str))
|
|
if ba2.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
if (global.recipemode == "sweet")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.sparklestar_str))
|
|
else if (global.recipemode == "bitter")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.gutpunch_str))
|
|
else if (global.recipemode == "sour")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.crevicespike_str))
|
|
else if (global.recipemode == "spicy")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.bleedingjane_str))
|
|
else if (global.recipemode == "bubbly")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.frothywater_str))
|
|
else if (global.recipemode == "girly")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.sparklestar_str))
|
|
else if (global.recipemode == "manly")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.piledriver_str))
|
|
else if (global.recipemode == "classic")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.bleedingjane_str))
|
|
else if (global.recipemode == "classy")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.brandtini_str))
|
|
else if (global.recipemode == "promo")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.bloomlight_str))
|
|
else if (global.recipemode == "b")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.brandtini_str))
|
|
else if (global.recipemode == "c")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.mercuryblast_str))
|
|
else if (global.recipemode == "f")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.zenstar_str))
|
|
else if (global.recipemode == "g")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.cobaltvelvet_str))
|
|
else if (global.recipemode == "m")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.pianoman_str))
|
|
else if (global.recipemode == "p")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.suplex_str))
|
|
else if (global.recipemode == "s")
|
|
draw_text((ba2.x + 5), (ba2.y + 3), string(global.grizzlytemple_str))
|
|
if ba3.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
if (global.recipemode == "sweet")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.bluefairy_str))
|
|
else if (global.recipemode == "bitter")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.piledriver_str))
|
|
else if (global.recipemode == "sour")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.badtouch_str))
|
|
else if (global.recipemode == "spicy")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.bloomlight_str))
|
|
else if (global.recipemode == "bubbly")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.cobaltvelvet_str))
|
|
else if (global.recipemode == "girly")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.bluefairy_str))
|
|
else if (global.recipemode == "manly")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.suplex_str))
|
|
else if (global.recipemode == "classic")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.frothywater_str))
|
|
else if (global.recipemode == "classy")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.cobaltvelvet_str))
|
|
else if (global.recipemode == "promo")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.zenstar_str))
|
|
else if (global.recipemode == "c")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.moonblast_str))
|
|
else if (global.recipemode == "g")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.piledriver_str))
|
|
else if (global.recipemode == "m")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.pianowoman_str))
|
|
else if (global.recipemode == "p")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.sparklestar_str))
|
|
else if (global.recipemode == "s")
|
|
draw_text((ba3.x + 5), (ba3.y + 3), string(global.sugarrush_str))
|
|
if ba4.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
if (global.recipemode == "sweet")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.moonblast_str))
|
|
else if (global.recipemode == "bitter")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.suplex_str))
|
|
else if (global.recipemode == "sour")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.mercuryblast_str))
|
|
else if (global.recipemode == "bubbly")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.fringeweaver_str))
|
|
else if (global.recipemode == "girly")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.fluffydream_str))
|
|
else if (global.recipemode == "manly")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.marsblast_str))
|
|
else if (global.recipemode == "classy")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.fringeweaver_str))
|
|
else if (global.recipemode == "promo")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.pianoman_str))
|
|
else if (global.recipemode == "c")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.crevicespike_str))
|
|
else if (global.recipemode == "g")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.gutpunch_str))
|
|
else if (global.recipemode == "m")
|
|
draw_text((ba4.x + 5), (ba4.y + 3), string(global.frothywater_str))
|
|
if ba5.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
if (global.recipemode == "sweet")
|
|
draw_text((ba5.x + 5), (ba5.y + 3), string(global.brandtini_str))
|
|
else if (global.recipemode == "bitter")
|
|
draw_text((ba5.x + 5), (ba5.y + 3), string(global.grizzlytemple_str))
|
|
else if (global.recipemode == "sour")
|
|
draw_text((ba5.x + 5), (ba5.y + 3), string(global.zenstar_str))
|
|
else if (global.recipemode == "girly")
|
|
draw_text((ba5.x + 5), (ba5.y + 3), string(global.sunshinecloud_str))
|
|
else if (global.recipemode == "manly")
|
|
draw_text((ba5.x + 5), (ba5.y + 3), string(global.crevicespike_str))
|
|
else if (global.recipemode == "classy")
|
|
draw_text((ba5.x + 5), (ba5.y + 3), string(global.mercuryblast_str))
|
|
else if (global.recipemode == "promo")
|
|
draw_text((ba5.x + 5), (ba5.y + 3), string(global.pianowoman_str))
|
|
else if (global.recipemode == "g")
|
|
draw_text((ba5.x + 5), (ba5.y + 3), string(global.bleedingjane_str))
|
|
else if (global.recipemode == "m")
|
|
draw_text((ba5.x + 5), (ba5.y + 3), string(global.fluffydream_str))
|
|
if ba6.hover
|
|
draw_set_color(c_white)
|
|
else
|
|
draw_set_color(c_gray)
|
|
if (global.recipemode == "sweet")
|
|
draw_text((ba6.x + 5), (ba6.y + 3), string(global.pianowoman_str))
|
|
else if (global.recipemode == "girly")
|
|
draw_text((ba6.x + 5), (ba6.y + 3), string(global.moonblast_str))
|
|
}
|
|
}
|
|
else if (global.recipeindex != 0)
|
|
{
|
|
draw_set_halign(fa_center)
|
|
draw_text(((recipebook_bg.x + 145) + 25), (recipebook_bg.y + 210), (string(drinknumber) + "/24"))
|
|
draw_set_halign(fa_left)
|
|
}
|