Advertisement
Sandsky0

Untitled

Aug 15th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(global.item[8] && room != rInit && room != rTitle && room != rMenu && room != rLoad && room != rOptions && room != rSelectStage){
  2.     if(keyboard_check_pressed(vk_pageup)){
  3.         if(room_previous(room) != -1){
  4.             room_goto_previous();
  5.             with(player){ instance_destroy(); }
  6.             if(instance_exists(bow)){ with(bow){ instance_destroy(); } }
  7.         }
  8.     }
  9.  
  10.     if(keyboard_check_pressed(vk_pagedown)){
  11.         if(room_next(room) != -1){
  12.             room_goto_next();
  13.             with(player){ instance_destroy(); }
  14.             if(instance_exists(bow)){ with(bow){ instance_destroy(); } }
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement