Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// @description Insert description here
- // You can write your code in this editor
- if (MenuState == true)
- {
- //MenuBox, Name, and Stat Text
- draw_sprite(MenuBox_BasicStats, 0, 104, 106);
- draw_set_font(fnt_underfont_2);
- draw_text(47, 60, string(global.FriskName));
- //Stat numbers
- draw_set_font(fnt_stat_numbers);
- draw_text(83, 98, string(global.FriskLV));
- draw_text(83, 116, string(global.FriskCurrentHP)+"/"+string(global.FriskMaxHP));
- draw_text(83, 134, string(global.FriskGOLD));
- //MenuBox Options
- draw_sprite(MenuBox_Options, 0, 104, 241.5);
- draw_set_font(fnt_underfont_2);
- if (ItemState == true)
- {
- draw_set_color(ItemColor2);
- draw_text(84, 189, "ITEM");
- }
- else
- {
- draw_set_color(ItemColor1);
- draw_text(84, 189, "ITEM");
- }
- draw_set_color(c_white);
- draw_text(84, 225, "STAT");
- if (CellState == true)
- {
- draw_text(84, 261, "CELL");
- }
- //Moving the selector along the menu
- if (Selector_Position == 0)
- {
- draw_sprite_ext(Selector, 0, 65, 205, 1, 1, 0, -1, Selector_Alpha);
- }
- else if (Selector_Position == 1)
- {
- draw_sprite_ext(Selector, 0, 65, 241, 1, 1, 0, -1, Selector_Alpha);
- }
- else if (Selector_Position == 2 and CellState == true)
- {
- draw_sprite_ext(Selector, 0, 65, 277, 1, 1, 0, -1, Selector_Alpha);
- }
- //Handles the ITEM, STAT, and CELL menus
- if (InItemMenu == true)
- {
- //Draws the Inventory Menu
- draw_sprite(ItemMenu, 0, 362, 232);
- //Draws the Inventory Text
- draw_set_font(fnt_underfont_2);
- draw_text(232, 361, "USE");
- draw_text(328, 361, "INFO");
- draw_text(442, 361, "DROP");
- for (var i = 0; i < global.MaxInventoryItems; i++)
- {
- draw_text(232, 81 + (32*i), string(global.Inventory[# 1, i]));
- }
- //draw_sprite(Selector, 0, 217, 97 + (32*ItemMenu_Selector_Position));
- }
- else if (InStatMenu == true)
- {
- //Draws the MenuBox
- draw_sprite(MenuBox_Stats, 0, 362, 260);
- //Draws the Statistics Text (LV, HP, ATK, etc...)
- draw_set_font(fnt_underfont_2);
- draw_text(216, 85, chr(34)+string(global.FriskName)+chr(34));
- draw_text(216, 145, "LV "+string(global.FriskLV));
- draw_text(216, 177, "HP "+string(global.FriskCurrentHP)+" / "+string(global.FriskMaxHP));
- draw_text(216, 241, "AT "+string(global.Frisk_FakeATK)+" ("+string(global.Frisk_WpnATK)+")");
- draw_text(216, 273, "DF "+string(global.Frisk_FakeDEF)+" ("+string(global.Frisk_ArmDEF)+")");
- draw_text(216, 333, "WEAPON: ");
- draw_text(216, 365, "ARMOR: ");
- draw_text(216, 405, "GOLD: "+string(global.FriskGOLD));
- draw_text(384, 241, "EXP: "+string(global.FriskEXP));
- draw_text(384, 273, "NEXT: "+string(global.FriskNEXT));
- draw_text(384, 85, "SOULS: "+string(global.FriskSOULS));
- //draw_text(384, 405, "KILLS: "+string(global.FriskKILLS));
- }
- else if (InCellMenu == true)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement