Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //< Submenu 4
- :Submenu4_
- Function 0 2 0
- fPush_3.0
- StaticSet1 3
- push_1
- StaticSet1 8
- Call @DrawBackground_
- Call @DrawNormalOptionHighlight_
- PushString "Submenu 4"
- Call @AddTitle_
- fPush_1.0
- PushString "Option 1"
- Call @AddOption_
- fPush_2.0
- PushString "Option 2"
- Call @AddOption_
- fPush_3.0
- PushString "Option 3"
- Call @AddOption_
- //Highlight
- //The info box is not just limited to a whole submenu. You can display it on an option highlight as well.
- StaticGet1 2
- FtoI
- Switch [1=@Sub4High1_][2=@Sub4High2_][3=@Sub4High3_]
- :Sub4High1_
- PushString "Info Box Highlight 1"
- Call @AddInfoBox_
- Jump @Submenu4Options_
- :Sub4High2_
- PushString "Info Box Highlight 2"
- Call @AddInfoBox_
- Jump @Submenu4Options_
- :Sub4High3_
- PushString "Info Box Highlight 3"
- Call @AddInfoBox_
- //Options
- :Submenu4Options_
- Call @CheckAPressed_
- push_1
- JumpEQ @Submenu4Controller_
- Jump @EndSubmenu4_
- :Submenu4Controller_
- PushString "SELECT"
- Call @PlayFrontendSound_
- StaticGet1 2
- FtoI
- Switch [1=@Sub4Op1_][2=@Sub4Op2_][3=@Sub4Op3_]
- :Sub4Op1_
- Jump @EndSubmenu4_
- :Sub4Op2_
- Jump @EndSubmenu4_
- :Sub4Op3_
- Jump @EndSubmenu4_
- :EndSubmenu4_
- Return 0 0
- //>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement