Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (ds_list_find_value(global.Inventory, global.selected_item) == ds_map_find_value(global.ItemDatabase, Items.MonsterCandy))
- {
- ItemDialog_USE[0] = "* You used the Monster Candy."; //Dialog String
- ItemDialog_INFO[0] = "* Monster Candy Info";
- ItemDialog_DROP[0] = "* You Droped the Monster Candy.";
- exit;
- }
- else if (ds_list_find_value(global.Inventory, global.selected_item) == ds_map_find_value(global.ItemDatabase, Items.Bandage))
- {
- ItemDialog_USE[0] = "* You used the Bandage."; //Dialog String
- ItemDialog_INFO[0] = "* Bandage Info";
- ItemDialog_DROP[0] = "* You Droped the Bandage.";
- exit;
- }
- else if (ds_list_find_value(global.Inventory, global.selected_item) == ds_map_find_value(global.ItemDatabase, Items.Stick))
- {
- ItemDialog_USE[0] = "* You used the Stick."; //Dialog String
- ItemDialog_INFO[0] = "* Stick Info";
- ItemDialog_DROP[0] = "* You Droped the Stick.";
- exit;
- }
- else if (ds_list_find_value(global.Inventory, global.selected_item) == ds_map_find_value(global.ItemDatabase, Items.SpiderDonut))
- {
- ItemDialog_USE[0] = "* You used the Spider Donut."; //Dialog String
- ItemDialog_INFO[0] = "* Spider Donut Info";
- ItemDialog_DROP[0] = "* You Droped the Spider Donut.";
- exit;
- }
- else if (ds_list_find_value(global.Inventory, global.selected_item) == ds_map_find_value(global.ItemDatabase, Items.SpiderCider))
- {
- ItemDialog_USE[0] = "* You used the Spider Cider."; //Dialog String
- ItemDialog_INFO[0] = "* Spider Cider Info";
- ItemDialog_DROP[0] = "* You Droped the Spider Cider.";
- exit;
- }
- else if (ds_list_find_value(global.Inventory, global.selected_item) == ds_map_find_value(global.ItemDatabase, Items.ButterPie))
- {
- ItemDialog_USE[0] = "* You used the Butter Pie."; //Dialog String
- ItemDialog_INFO[0] = "* Butter Pie Info";
- ItemDialog_DROP[0] = "* You Droped the Butter Pie.";
- exit;
- }
- else if (ds_list_find_value(global.Inventory, global.selected_item) == ds_map_find_value(global.ItemDatabase, Items.ToyKnife))
- {
- ItemDialog_USE[0] = "* You used the Toy Knife."; //Dialog String
- ItemDialog_INFO[0] = "* Toy Knife Info";
- ItemDialog_DROP[0] = "* You Droped the Toy Knife.";
- exit;
- }
- else if (ds_list_find_value(global.Inventory, global.selected_item) == ds_map_find_value(global.ItemDatabase, Items.RedRibbon))
- {
- ItemDialog_USE[0] = "* You used the Ribbon."; //Dialog String
- ItemDialog_INFO[0] = "* Ribbon Info";
- ItemDialog_DROP[0] = "* You Droped the Ribbon.";
- exit;
- }
Advertisement
Add Comment
Please, Sign In to add comment