module MenuLuna module MainMenu def self.user_command_text(index, contents, item_rect, enable, select) if select == false case index when 0; color = "$bitmap[Menus, Items_Inactive]" when 1; color = "$bitmap[Menus, Equipment_Inactive]" when 2; color = "$bitmap[Menus, Skills_Inactive]" when 3; color = "$bitmap[Menus, Status_Inactive]" when 4; color = "$bitmap[Menus, Formation_Inactive]" when 5; color = "$bitmap[Menus, Quests_Inactive]" when 6; color = "$bitmap[Menus, Save_Inactive]" end else case index when 0; color = "$bitmap[Menus, Items_Active]" when 1; color = "$bitmap[Menus, Equipment_Active]" when 2; color = "$bitmap[Menus, Skills_Active]" when 3; color = "$bitmap[Menus, Status_Active]" when 4; color = "$bitmap[Menus, Formation_Active]" when 5; color = "$bitmap[Menus, Quests_Active]" when 6; color = "$bitmap[Menus, Save_Active]" end end x = 0 y = item_rect.y result = [ [color, [x, y], 255, [0, 0, "bw", "bh"]], ] result end def self.user_status_text(index, actor, contents, item_rect, enable, select, formation) end # Text for Gold Window def self.user_gold_text(contents) result = [] gold = $game_party.gold i = 0 c = $game_party.gold.to_s.size if gold == 0 x = 62 y = 22 result.push(["$bitmap[System, Numbers_Small]", [x, y], 255, [0 * 20, 0, 20, 20]]) end while gold > 0 x = (c - i - 1) * 15 + 62 y = 22 num = gold % 10 result.push(["$bitmap[System, Numbers_Small]", [x, y], 255, [num * 20, 0, 20, 20]]) gold = gold / 10 i += 1 end #--- Location --- x = 250 y = 21 filename = $game_map.map_id result.push(["$bitmap[Menus, #{filename}]", [x, y], 255, [0, 0, "bw", "bh"]]) #--- result end endend