|
@@ -26,7 +26,7 @@ if $ARGS[0] = 'chartabs':
|
|
|
$tabsaction[] = 'menu_page = 6 & gs ''obj_din'', ''magic'''
|
|
|
end
|
|
|
gs 'tabhead',menu_page
|
|
|
- act 'Exit the menu': killvar 'menu_page' & gt 'obj_din', 'menu_exit'
|
|
|
+ act 'Exit the menu': gs 'obj_din', 'menu_exit' & gt $menu_loc, $menu_arg
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'bodytabs':
|
|
@@ -56,7 +56,7 @@ if $ARGS[0] = 'bodytabs':
|
|
|
$tabsname[] = 'Piercings'
|
|
|
$tabsaction[] = 'menu_page = 7 & gs ''obj_din'', ''piercing'''
|
|
|
gs 'tabhead',menu_page
|
|
|
- act 'Exit the menu': killvar 'menu_page' & gt 'obj_din', 'menu_exit'
|
|
|
+ act 'Exit the menu': gs 'obj_din', 'menu_exit' & gt $menu_loc, $menu_arg
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'settingtabs':
|
|
@@ -98,8 +98,8 @@ if $ARGS[0] = 'settingtabs':
|
|
|
act 'Enter cheat menu': killvar 'menu_page' & gs '$menu_cheat'
|
|
|
act 'Get Game Settings': killvar 'menu_page' & gt 'initg', 'get_game_set'
|
|
|
act 'Set Game Settings': killvar 'menu_page' & gt 'initg', 'set_game_set'
|
|
|
- act 'Emergency Exit': killvar 'menu_page' & gt 'obj_din', 'emergency'
|
|
|
- act 'Exit the menu': killvar 'menu_page' & gt 'obj_din', 'menu_exit'
|
|
|
+ act 'Emergency Exit': gs 'obj_din', 'menu_exit' & gt 'obj_din', 'emergency'
|
|
|
+ act 'Exit the menu': gs 'obj_din', 'menu_exit' & gt $menu_loc, $menu_arg
|
|
|
end
|
|
|
end
|
|
|
|
|
@@ -234,12 +234,16 @@ if $ARGS[0] = 'cheattabs':
|
|
|
|
|
|
$cheat_tab_list
|
|
|
|
|
|
- act 'Settings menu': killvar 'menu_page' & gs '$menu_setting'
|
|
|
- act 'Emergency Exit': killvar 'menu_page' & gt 'obj_din', 'emergency'
|
|
|
- act 'Exit the menu': killvar 'menu_page' & gt 'obj_din', 'menu_exit'
|
|
|
+ act 'Settings menu': gs 'obj_din', 'menu_exit' & gs '$menu_setting'
|
|
|
+ act 'Emergency Exit': gs 'obj_din', 'menu_exit' & gt 'obj_din', 'emergency'
|
|
|
+ act 'Exit the menu': gs 'obj_din', 'menu_exit' & gt $menu_loc, $menu_arg
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'menu_exit': settingmode = 0 & gt $menu_loc, $menu_arg
|
|
|
+if $ARGS[0] = 'menu_exit':
|
|
|
+ settingmode = 0
|
|
|
+ killvar 'cheatmenu'
|
|
|
+ killvar 'menu_page'
|
|
|
+end
|
|
|
|
|
|
if $ARGS[0] = 'menu_disabled': '<font color="red"><b>Menu is disabled for this event</b></font>'
|
|
|
|