-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
803 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{new | ||
UIPanel | ||
tutorials_lesson_menu_panel | ||
(file | ||
{gamemode get lesson_menu_assets}) | ||
(goto_lesson | ||
($num) | ||
{tutorials_state_panel set_lesson $num} | ||
{modifier_mgr deactivate_modifier mod_blackvenue} | ||
{set $iamingamenow TRUE} | ||
{ui goto_screen tutorials_loading_screen}) | ||
(enter | ||
{set $iamingamenow FALSE} | ||
{$this | ||
set_focus | ||
{elem | ||
{tutorials_state_panel | ||
get_lesson | ||
{{gamemode get main_panel} | ||
get | ||
lesson_num}} | ||
0}} | ||
{foreach | ||
$lesson | ||
{tutorials_state_panel get_all_lessons} | ||
{{elem $lesson 3} | ||
set_showing | ||
{{profile_mgr | ||
get_profile | ||
{session_mgr get_leader_num}} | ||
is_lesson_complete | ||
{elem $lesson 2}}}} | ||
{$this set just_entered FALSE}) | ||
(TRANSITION_COMPLETE_MSG | ||
{if | ||
{&& | ||
{! | ||
{ui in_transition}} | ||
{== | ||
{ui current_screen} | ||
tutorials_lesson_menu_screen} | ||
{! | ||
{net_sync has_destination_screen}}} | ||
{autosave}}) | ||
(exit | ||
{$this set just_entered TRUE}) | ||
(FOCUS_MSG | ||
{if | ||
{! | ||
[just_entered]} | ||
{do | ||
{set | ||
[lesson_num_scroll] | ||
0} | ||
{foreach | ||
$lesson | ||
{tutorials_state_panel get_all_lessons} | ||
{if_else | ||
{== | ||
{elem $lesson 0} | ||
$new_focus} | ||
{tutorials_state_panel | ||
remember_lesson | ||
[lesson_num_scroll]} | ||
{'++' | ||
[lesson_num_scroll]}}}}} | ||
kDataUnhandled) | ||
(SELECT_MSG | ||
{{game get_participant_config 0} | ||
set_ready | ||
TRUE} | ||
{set | ||
[lesson_num] | ||
0} | ||
{foreach | ||
$lesson | ||
{tutorials_state_panel get_all_lessons} | ||
{if_else | ||
{== | ||
{elem $lesson 0} | ||
$component} | ||
{$this | ||
goto_lesson | ||
[lesson_num]} | ||
{'++' | ||
[lesson_num]}}}) | ||
(allow_player | ||
($player_num) | ||
{game is_player_participating $player_num}) | ||
(lesson_num 0) | ||
(lesson_num_scroll 0) | ||
(just_entered TRUE)} | ||
{new | ||
BandScreen | ||
tutorials_lesson_menu_screen | ||
(panels meta movie_panel tutorials_lesson_menu_panel) | ||
(focus tutorials_lesson_menu_panel) | ||
(back training_menu_screen) | ||
(enter | ||
{input_mgr set_limit kLimitSession} | ||
{meta music_start}) | ||
(helpbar | ||
((cancel helpbar_back) | ||
(confirm helpbar_select)))} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.