#Game: Vice City Stories
#Author: NielsB
#Version: 1.0
#Category: ~h~Scripting
#Date: 28-10-2023
#Description:In Game Anim Viewer

0004: 1@ = 0
02EE: get_offset_from_char_in_world_coords $PLAYER_CHAR offset 0 3.00 0 store_to 4@ 5@ 6@
0323: print_help_forever '~n~~h~Press The Down button ~w~To Change The Id ~n~~h~Press the L trigger ~w~to Close menu  ~n~~h~The ~X~ button To view the Animation'

:LOOP
0001: wait 0
011F: print_with_number_now '~b~Animation: ~p~~1~' number 1@ time 10 flag 1
007F:   is_button_pressed 0 button 16
0022: goto_if_false @OPTION6
0002: goto @ANIMEC
:OPTION6
007F:   is_button_pressed 0 button 9
0022: goto_if_false @OPTION7
0002: goto @NEXTID
:OPTION7
007F:   is_button_pressed 0 button 4
0022: goto_if_false @OPTION8
0002: goto @EXIT
:OPTION8
0002: goto @LOOP


:ANIMEC
0443: request_anims 1@
0220: set_char $PLAYER_CHAR anim 1@ wait_state_time 5000 ms
0002: goto @LOOP

:NEXTID
0001: wait 100
0008: 1@ += 1
0002: goto @LOOP

:EXIT
0268: clear_help
0023: terminate_this_script
