Gw Temp

Menu

Tutorial - 'Dynamic menus in-depth tutorial' by Guest

An item about RPGMaker 2000 posted on

Blurb

A tutorial on making a Dynamic Menu (Custom Menu System) This tutorial is long, very in-depth and very worth the read!

Body

____________________________________________________
|      Prologue                                      |
|____________________________________________________|

Before we begin, i'dd just like to say that i once read a tut about this
but i couldnt make any sense out of it, it was really complicated and
used a lot of functions. In this system, which magically came flowing
out of my two index fingers, you only use these functions:
<>Change variable
<>Show picture
<>Move picture
<>enter password
<>fork conditions
<>Label
<>Goto Label
Ofcourse you must have extended knowledge of these functions or else
you wont get shit out of this tut. Also i like to state that i only
used nine variables, but a lot of preset numbers, my system is all
about knowing the places of the picture and thinking where they go next.
I will base this tutorial on seeing three items at once in a customized item menu
Also note that i used a backpack system where all items bought would be stored
in the party bacpack, but in order to use them in example battle, the items would 
have to be put in the characters pockets, i made my character have 6 pockets.

 _____________________________________________________
|      Chapter 1 : Picture classification             |
|_____________________________________________________|

Ok, we can see three items at once, this means we need to use 6 pictures
1. Default top item
2. Default 2nd item
3. Default 3rd item
4. Buffer item
5. Menu top layer
6. Menu cursor
Ok, this is what i did, the menu top layer is basically the design of the menu.
You have to make sure that on the top and bottem of this there is enough room
to buffer one of the items, meaning that one of the items can flow underneath
this without seeing any graphical bugs. For conveniance, i made each item
16x48 pixels, which is actually 1x3 chips. Because we need the buffer i made
the menu 80x48 pixels which is actually 5x3 chips. Here is what it should look like:
 ________________
|                |
|    Items       |    1 <<<< This is the discription of the menu and also top buffer
|________________|
|                |
|                |    2 <<<< Here comes the top item
|................|
|                |
|                |    3 <<<< Here comes the second item
|................|
|                |
|                |    4 <<<< Here comes the third item
|________________|
|                |
|                |    5 <<<< This is the bottem buffer
|________________|

Okay ive divided the menu top layer in 5 sections. Keep in mind that only the outer
borders of all sections and only section 1 and 5 are visible. the inner side of
sections 2 3 and 4 should be made transparent. Next ill define how the items itself 
should look like, item code=0 resembles no item, you should also make a blank item with
the colour of the menu background:

 _______________
|               |
|    Potion     |     <<<< Item code 1
|_______________|
 _______________
|               |
|    Tonic      |     <<<< Item code 2
|_______________|
 _______________
|               |
|    Reviver    |     <<<< Item code 3
|_______________|

Okay, keep in mind that these items should have the background colour of the menu inside
them. Also note that the the outer 2 or 3 pixels will not be seen because of the top
menu layers borders. Now im going to divine the coordinates of the pictures. I made them
so they show in the center of the screen, but this is just for the tut, what is important about
these numbers is their values compared to each other. The menu itself is displayed at 160x120

________________
|                |
|    Items       |    <<<< To show a 1x3 chip here, 160x96
|________________|
|                |
|                |    <<<< To show a 1x3 chip here, 160x112
|................|
|                |
|                |    <<<< To show a 1x3 chip here, 160x128
|................|
|                |
|                |    <<<< To show a 1x3 chip here, 160x144
|________________|
|                |
|                |    <<<< To show a 1x3 chip here, 160x160
|________________|

I used a menucursor which was just a 16x48 grey pic which i showed at 50% transparency,
so basically the cursor follows the same coordinates as the pictures, 
but you could also those FF cursor hands, all you have to do is change the vars then.

 __________________________________________________
|         Chapter 2 : Variable classification      |
|__________________________________________________|

[1] = Character pocket 1
[2] = Character pocket 2
[3] = Character pocket 3
[4] = Character pocket 4
[5] = Character pocket 5
[6] = Character pocket 6
[7] = Password entry
[8] = Cursor location
[9] = Cursor pocket

Okay, 1 thru 6 define which item is in that pocket, 7 is for pass, 8 defines where
the cursor is in the menu, this can be either 1(top) 2(2nd) or 3(bottem). 9 defines
which pocket is currently higlighted by the cursor, this may sound a little advanced,
but trust me.....its not

when you select the option 'Items' in you main menu and select the character, then
this menu containing all the items in his pockets should show up. When this menu
shows up, it loads the default menu values, which are dependant of the inside of
his pockets (which items are in which pockets)

 _______________________________________________________
|     Chapter 3 : Programming the Code (Easy part)      |
|_______________________________________________________|

Suppose my character has in pocket 1/2/3 a potion in pocket 4/5 a tonic and in 
pocket 6 a reviver. When this menu is activated, the default code should be this:

<>Show pic [5] Items-menu 160x120
<>fork Pocket1=0
<><>Show pic [1] Items-empty 160x112
<>fork Pocket1=1
<><>Show pic [1] Items-potion 160x112
<>fork Pocket1=2
<><>Show pic [1] Items-Tonic 160x112
<>fork Pocket1=3
<><>Show pic [1] Items-Reviver 160x112
<>fork Pocket2=0
<><>Show pic [2] Items-empty 160x128
<>fork Pocket2=1
<><>Show pic [2] Items-potion 160x128
<>fork Pocket2=2
<><>Show pic [2] Items-Tonic 160x128
<>fork Pocket2=3
<><>Show pic [2] Items-Reviver 160x128
<>fork Pocket3=0
<><>Show pic [3] Items-empty 160x144
<>fork Pocket3=1
<><>Show pic [3] Items-potion 160x144
<>fork Pocket3=2
<><>Show pic [3] Items-Tonic 160x144
<>fork Pocket3=3
<><>Show pic [3] Items-Reviver 160x144
<>Show pic [6] Menu-cursor 160x112 (50%)
<>Change var: [cursor pocket] Set 1

are you still with me? okay, what this does is show the menu as how it would look when
you open it, if u want more kinds of items, you just have to code'em in.
Okay, next part will be the interactivity, which features a entry password.

<>Label1
<>Enter pass 1,2,3,4,5,6 (W)
<>Fork Enrtypass=1
<>
<>Fork Enrtypass=4
<>
<>Fork Enrtypass=5
<>
<>Fork Enrtypass=6
<>
<>Wait .1
<>Goto label1

Still with me? Okay, this is how the code should look like by now:

<>Show pic [5] Items-menu 160x120
<>fork Pocket1=0
<><>Show pic [1] Items-empty 160x112
<>fork Pocket1=1
<><>Show pic [1] Items-potion 160x112
<>fork Pocket1=2
<><>Show pic [1] Items-Tonic 160x112
<>fork Pocket1=3
<><>Show pic [1] Items-Reviver 160x112
<>fork Pocket2=0
<><>Show pic [2] Items-empty 160x128
<>fork Pocket2=1
<><>Show pic [2] Items-potion 160x128
<>fork Pocket2=2
<><>Show pic [2] Items-Tonic 160x128
<>fork Pocket2=3
<><>Show pic [2] Items-Reviver 160x128
<>fork Pocket3=0
<><>Show pic [3] Items-empty 160x144
<>fork Pocket3=1
<><>Show pic [3] Items-potion 160x144
<>fork Pocket3=2
<><>Show pic [3] Items-Tonic 160x144
<>fork Pocket3=3
<><>Show pic [3] Items-Reviver 160x144
<>Show pic [6] Menu-cursor 160x112 (50%)
<>Change var: [cursor pocket] Set 1
<>Label1
<>Enter pass 1,2,3,4,5,6 (W)
<>Fork Enrtypass=1
<>
<>Fork Enrtypass=4
<>
<>Fork Enrtypass=5
<>
<>Fork Enrtypass=6
<>
<>Wait .1
<>Goto Label1

Okay, now ill go into each of the forks separatly

<>Fork Entrypass=1
<><>Fork Cursorlocation=1
<><><>Show pic [6] 160x128 (50%)
<><><>Change var: [Cursorlocation] Set 2
<><><>Change var: [Cursorpocket] + 1
<><><>Goto Label1
<><>Fork Cursorlocation=2
<><><>Show pic [6] 160x144 (50%)
<><><>Change var: [Cursorlocation] Set 3
<><><>Change var: [Cursorpocket] + 1
<><><>Goto Label1
<><>Fork Cursorlocation=3
<><><>                                      <<<< I'll get into this part later

<>Fork Entrypass=4
<><>Fork Cursorlocation=1
<><><>                                      <<<< I'll get into this part later
<><>Fork Cursorlocation=2
<><><>Show pic [6] 160x112 (50%)
<><><>Change var: [Cursorlocation] Set 1
<><><>Change var: [Cursorpocket] - 1
<><><>Goto Label1
<><>Fork Cursorlocation=3
<><><>Show pic [6] 160x128 (50%)
<><><>Change var: [Cursorlocation] Set 2
<><><>Change var: [Cursorpocket] - 1
<><><>Goto Label1

<>Fork Entrypass=5
<><>Fork cursorlocation=1
<><><>Fork cursorpocket=1
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=2
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=3
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=4
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=5
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=6
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><>Fork cursorlocation=2
<><><>Fork cursorpocket=1
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=2
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=3
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=4
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=5
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=6
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><>Fork cursorlocation=3
<><><>Fork cursorpocket=1
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=2
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=3
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=4
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=5
<><><><>...                           <<<< Here happens whatever happens when you use the item
<><><>Fork cursorpocket=6
<><><><>...                           <<<< Here happens whatever happens when you use the item

So that basically outlines when you press enter to detect which item is under the cursor and
where the cursor is, im not going into that any further cuz that is up to you.

Fork Entrypass=6
<> Eras Pic [1]
<> Eras Pic [2]
<> Eras Pic [3]
<> Eras Pic [4]
<> Eras Pic [5]
<> Shows Pic [6] X,Y                 <<<< wherever the cursor was before the item menu was opened

Okay, as you might have noticed this covers all menu movement except for when you press
down, and the cursor is already at the bottem the menu is supposed to scroll down,
same for up, but this section is so big, i decided to make a seperate Chapter for that.

 _______________________________________________________
|     Chapter 4 : Programming the Code (Hard part)      |
|_______________________________________________________|

Okay, because this code uses so little pictures, its really fuckin' around with them all
the time, just because pic[1] is default Top, doesnt mean it always is at the top, i know
this part is very confusing, so i think the best way to explain this is by usage of my
top knotch ASII (sarcasm). These are all the positions the menu can be displayed at:

Phase1: 
________________
|                |
|    Items       |    
|________________|
|                |
|   Pocket1      |    <<<< This is pic [1]
|................|
|                |
|   Pocket2      |    <<<< This is pic [2] 
|................|
|                |
|   Pocket3      |    <<<< This is pic [3] 
|________________|
|                |
|                |    
|________________|

Phase2:
 ________________
|                |
|    Items       |    
|________________|
|                |
|   Pocket2      |    <<<< This is pic [2]
|................|
|                |
|   Pocket3      |    <<<< This is pic [3]
|................|
|                |
|   Pocket4      |    <<<< This is pic [1] 
|________________|
|                |
|                |     
|________________|

Phase3:
 ________________
|                |
|    Items       |    
|________________|
|                |
|   Pocket3      |    <<<< This is pic [3]
|................|
|                |
|   Pocket4      |    <<<< This is pic [1] 
|................|
|                |
|   Pocket5      |    <<<< This is pic [2]
|________________|
|                |
|                |     
|________________|

Phase4:
 ________________
|                |
|    Items       |     
|________________|
|                |
|   Pocket4      |    <<<< This is pic [1] 
|................|
|                |
|   Pocket5      |    <<<< This is pic [2]
|................|
|                |
|   Pocket6      |    <<<< This is pic [3]
|________________|
|                |
|                |    
|________________|

I can probably guess youre wondering why the order of the pictures gets thrown around like that,
well, this is why: when you scroll down, actually all the individual items scroll up
in the first case [1] scrolls behind the menu Top-buffer, [2] scrolls to place1, 
[3] scrolls to place2, and before this all moves, Pic [4] appears containing pocket4
and scrolls from the bottem-buffer to place3 and then pic [1] (which by now is out of sight)
appears under pic [4] containing also pocket4 and then pic[4] gets erased and goes on being
the buffer again. Get it? it sounds so hard but its really simple actually. Okay now
on for the code of this section:

<>Fork Entrypass=1
<><>Fork Cursorlocation=3
<><><>Fork Cursorpocket=3                               <<<< Detects Phase1
<><><><>Fork Pocket4=0
<><><><><>Show pic [4] Items-empty 160x160
<><><><>fork Pocket4=1
<><><><><>Show pic [4] Items-potion 160x160
<><><><>fork Pocket4=2
<><><><><>Show pic [4] Items-Tonic 160x160
<><><><>fork Pocket4=3
<><><><><>Show pic [4] Items-reviver 160x160
<><><><>Move pic [1] 160x96 (.3)
<><><><>Move pic [2] 160x112 (.3)
<><><><>Move pic [3] 160x128 (.3)
<><><><>Move pic [4] 160x144 (.3)
<><><><>Wait .3
<><><><>Fork Pocket4=0
<><><><><>Show pic [1] Items-empty 160x144
<><><><>fork Pocket4=1
<><><><><>Show pic [1] Items-potion 160x144
<><><><>fork Pocket4=2
<><><><><>Show pic [1] Items-Tonic 160x144
<><><><>fork Pocket4=3
<><><><><>Show pic [1] Items-reviver 160x144
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] + 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1
<><><>Fork Cursorpocket=4                               <<<< Detects Phase2
<><><><>Fork Pocket5=0
<><><><><>Show pic [4] Items-empty 160x160
<><><><>fork Pocket5=1
<><><><><>Show pic [4] Items-potion 160x160
<><><><>fork Pocket5=2
<><><><><>Show pic [4] Items-Tonic 160x160
<><><><>fork Pocket5=3
<><><><><>Show pic [4] Items-reviver 160x160
<><><><>Move pic [2] 160x96 (.3)
<><><><>Move pic [3] 160x112 (.3)
<><><><>Move pic [1] 160x128 (.3)
<><><><>Move pic [4] 160x144 (.3)
<><><><>Wait .3
<><><><>Fork Pocket4=0
<><><><><>Show pic [2] Items-empty 160x144
<><><><>fork Pocket5=1
<><><><><>Show pic [2] Items-potion 160x144
<><><><>fork Pocket5=2
<><><><><>Show pic [2] Items-Tonic 160x144
<><><><>fork Pocket5=3
<><><><><>Show pic [2] Items-reviver 160x144
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] + 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1
<><><>Fork Cursorpocket=5                               <<<< Detects Phase3
<><><><>Fork Pocket6=0
<><><><><>Show pic [4] Items-empty 160x160
<><><><>fork Pocket6=1
<><><><><>Show pic [4] Items-potion 160x160
<><><><>fork Pocket6=2
<><><><><>Show pic [4] Items-Tonic 160x160
<><><><>fork Pocket6=3
<><><><><>Show pic [4] Items-reviver 160x160
<><><><>Move pic [3] 160x96 (.3)
<><><><>Move pic [1] 160x112 (.3)
<><><><>Move pic [2] 160x128 (.3)
<><><><>Move pic [4] 160x144 (.3)
<><><><>Wait .3
<><><><>Fork Pocket6=0
<><><><><>Show pic [3] Items-empty 160x144
<><><><>fork Pocket6=1
<><><><><>Show pic [3] Items-potion 160x144
<><><><>fork Pocket6=2
<><><><><>Show pic [3] Items-Tonic 160x144
<><><><>fork Pocket6=3
<><><><><>Show pic [3] Items-reviver 160x144
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] + 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1

<>Fork Entrypass=4
<><>Fork Cursorlocation=1
<><><>Fork Cursorpocket=2                               <<<< Detects Phase2
<><><><>Fork Pocket1=0
<><><><><>Show pic [4] Items-empty 160x96
<><><><>fork Pocket1=1
<><><><><>Show pic [4] Items-potion 160x96
<><><><>fork Pocket1=2
<><><><><>Show pic [4] Items-Tonic 160x96
<><><><>fork Pocket1=3
<><><><><>Show pic [4] Items-reviver 160x96
<><><><>Move pic [4] 160x112 (.3)
<><><><>Move pic [2] 160x128 (.3)
<><><><>Move pic [3] 160x144 (.3)
<><><><>Move pic [1] 160x160 (.3)
<><><><>Wait .3
<><><><>Fork Pocket1=0
<><><><><>Show pic [1] Items-empty 160x112
<><><><>fork Pocket1=1
<><><><><>Show pic [1] Items-potion 160x112
<><><><>fork Pocket1=2
<><><><><>Show pic [1] Items-Tonic 160x112
<><><><>fork Pocket1=3
<><><><><>Show pic [1] Items-reviver 160x112
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] - 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1
<><><>Fork Cursorpocket=3                               <<<< Detects Phase3
<><><><>Fork Pocket2=0
<><><><><>Show pic [4] Items-empty 160x96
<><><><>fork Pocket2=1
<><><><><>Show pic [4] Items-potion 160x96
<><><><>fork Pocket2=2
<><><><><>Show pic [4] Items-Tonic 160x96
<><><><>fork Pocket2=3
<><><><><>Show pic [4] Items-reviver 160x96
<><><><>Move pic [4] 160x112 (.3)
<><><><>Move pic [1] 160x128 (.3)
<><><><>Move pic [2] 160x144 (.3)
<><><><>Move pic [3] 160x160 (.3)
<><><><>Wait .3
<><><><>Fork Pocket2=0
<><><><><>Show pic [3] Items-empty 160x112
<><><><>fork Pocket2=1
<><><><><>Show pic [3] Items-potion 160x112
<><><><>fork Pocket2=2
<><><><><>Show pic [3] Items-Tonic 160x112
<><><><>fork Pocket2=3
<><><><><>Show pic [3] Items-reviver 160x112
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] - 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1
<><><>Fork Cursorpocket=4                               <<<< Detects Phase4
<><><><>fork Pocket3=0
<><><><><>Show pic [4] Items-empty 160x96
<><><><>fork Pocket3=1
<><><><><>Show pic [4] Items-potion 160x96
<><><><>fork Pocket3=2
<><><><><>Show pic [4] Items-Tonic 160x96
<><><><>fork Pocket3=3
<><><><><>Show pic [4] Items-reviver 160x96
<><><><>Move pic [4] 160x112 (.3)
<><><><>Move pic [3] 160x128 (.3)
<><><><>Move pic [1] 160x144 (.3)
<><><><>Move pic [2] 160x160 (.3)
<><><><>Wait .3
<><><><>Fork Pocket3=0
<><><><><>Show pic [2] Items-empty 160x112
<><><><>fork Pocket3=1
<><><><><>Show pic [2] Items-potion 160x112
<><><><>fork Pocket3=2
<><><><><>Show pic [2] Items-Tonic 160x112
<><><><>fork Pocket3=3
<><><><><>Show pic [2] Items-reviver 160x112
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] - 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1

Okay, i may be a bit off with all thos pics, since i didnt have my notes with me, but
i think they are allright, dont just copy this code, understand it, and try to make your
own, anyways, this is it for this section.

 __________________________________________
|    Chapter 5 : The Code                  |
|__________________________________________|

<>Show pic [5] Items-menu 160x120
<>fork Pocket1=0
<><>Show pic [1] Items-empty 160x112
<>fork Pocket1=1
<><>Show pic [1] Items-potion 160x112
<>fork Pocket1=2
<><>Show pic [1] Items-Tonic 160x112
<>fork Pocket1=3
<><>Show pic [1] Items-Reviver 160x112
<>fork Pocket2=0
<><>Show pic [2] Items-empty 160x128
<>fork Pocket2=1
<><>Show pic [2] Items-potion 160x128
<>fork Pocket2=2
<><>Show pic [2] Items-Tonic 160x128
<>fork Pocket2=3
<><>Show pic [2] Items-Reviver 160x128
<>fork Pocket3=0
<><>Show pic [3] Items-empty 160x144
<>fork Pocket3=1
<><>Show pic [3] Items-potion 160x144
<>fork Pocket3=2
<><>Show pic [3] Items-Tonic 160x144
<>fork Pocket3=3
<><>Show pic [3] Items-Reviver 160x144
<>Show pic [6] Menu-cursor 160x112 (50%)
<>Change var: [cursor pocket] Set 1
<>Label1
<>Enter pass 1,2,3,4,5,6 (W)
<>Fork Entrypass=1
<><>Fork Cursorlocation=1
<><><>Show pic [6] 160x128 (50%)
<><><>Change var: [Cursorlocation] Set 2
<><><>Change var: [Cursorpocket] + 1
<><><>Goto Label1
<><>Fork Cursorlocation=2
<><><>Show pic [6] 160x144 (50%)
<><><>Change var: [Cursorlocation] Set 3
<><><>Change var: [Cursorpocket] + 1
<><><>Goto Label1
<><>Fork Cursorlocation=3
<><><>Fork Cursorpocket=3                     
<><><><>Fork Pocket4=0
<><><><><>Show pic [4] Items-empty 160x160
<><><><>fork Pocket4=1
<><><><><>Show pic [4] Items-potion 160x160
<><><><>fork Pocket4=2
<><><><><>Show pic [4] Items-Tonic 160x160
<><><><>fork Pocket4=3
<><><><><>Show pic [4] Items-reviver 160x160
<><><><>Move pic [1] 160x96 (.3)
<><><><>Move pic [2] 160x112 (.3)
<><><><>Move pic [3] 160x128 (.3)
<><><><>Move pic [4] 160x144 (.3)
<><><><>Wait .3
<><><><>Fork Pocket4=0
<><><><><>Show pic [1] Items-empty 160x144
<><><><>fork Pocket4=1
<><><><><>Show pic [1] Items-potion 160x144
<><><><>fork Pocket4=2
<><><><><>Show pic [1] Items-Tonic 160x144
<><><><>fork Pocket4=3
<><><><><>Show pic [1] Items-reviver 160x144
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] + 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1
<><><>Fork Cursorpocket=4                     
<><><><>Fork Pocket5=0
<><><><><>Show pic [4] Items-empty 160x160
<><><><>fork Pocket5=1
<><><><><>Show pic [4] Items-potion 160x160
<><><><>fork Pocket5=2
<><><><><>Show pic [4] Items-Tonic 160x160
<><><><>fork Pocket5=3
<><><><><>Show pic [4] Items-reviver 160x160
<><><><>Move pic [2] 160x96 (.3)
<><><><>Move pic [3] 160x112 (.3)
<><><><>Move pic [1] 160x128 (.3)
<><><><>Move pic [4] 160x144 (.3)
<><><><>Wait .3
<><><><>Fork Pocket4=0
<><><><><>Show pic [2] Items-empty 160x144
<><><><>fork Pocket5=1
<><><><><>Show pic [2] Items-potion 160x144
<><><><>fork Pocket5=2
<><><><><>Show pic [2] Items-Tonic 160x144
<><><><>fork Pocket5=3
<><><><><>Show pic [2] Items-reviver 160x144
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] + 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1
<><><>Fork Cursorpocket=5                     
<><><><>Fork Pocket6=0
<><><><><>Show pic [4] Items-empty 160x160
<><><><>fork Pocket6=1
<><><><><>Show pic [4] Items-potion 160x160
<><><><>fork Pocket6=2
<><><><><>Show pic [4] Items-Tonic 160x160
<><><><>fork Pocket6=3
<><><><><>Show pic [4] Items-reviver 160x160
<><><><>Move pic [3] 160x96 (.3)
<><><><>Move pic [1] 160x112 (.3)
<><><><>Move pic [2] 160x128 (.3)
<><><><>Move pic [4] 160x144 (.3)
<><><><>Wait .3
<><><><>Fork Pocket6=0
<><><><><>Show pic [3] Items-empty 160x144
<><><><>fork Pocket6=1
<><><><><>Show pic [3] Items-potion 160x144
<><><><>fork Pocket6=2
<><><><><>Show pic [3] Items-Tonic 160x144
<><><><>fork Pocket6=3
<><><><><>Show pic [3] Items-reviver 160x144
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] + 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1
<>Fork Entrypass=4
<><>Fork Cursorlocation=1
<><><>Fork Cursorpocket=2                    
<><><><>Fork Pocket1=0
<><><><><>Show pic [4] Items-empty 160x96
<><><><>fork Pocket1=1
<><><><><>Show pic [4] Items-potion 160x96
<><><><>fork Pocket1=2
<><><><><>Show pic [4] Items-Tonic 160x96
<><><><>fork Pocket1=3
<><><><><>Show pic [4] Items-reviver 160x96
<><><><>Move pic [4] 160x112 (.3)
<><><><>Move pic [2] 160x128 (.3)
<><><><>Move pic [3] 160x144 (.3)
<><><><>Move pic [1] 160x160 (.3)
<><><><>Wait .3
<><><><>Fork Pocket1=0
<><><><><>Show pic [1] Items-empty 160x112
<><><><>fork Pocket1=1
<><><><><>Show pic [1] Items-potion 160x112
<><><><>fork Pocket1=2
<><><><><>Show pic [1] Items-Tonic 160x112
<><><><>fork Pocket1=3
<><><><><>Show pic [1] Items-reviver 160x112
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] - 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1
<><><>Fork Cursorpocket=3                          
<><><><>Fork Pocket2=0
<><><><><>Show pic [4] Items-empty 160x96
<><><><>fork Pocket2=1
<><><><><>Show pic [4] Items-potion 160x96
<><><><>fork Pocket2=2
<><><><><>Show pic [4] Items-Tonic 160x96
<><><><>fork Pocket2=3
<><><><><>Show pic [4] Items-reviver 160x96
<><><><>Move pic [4] 160x112 (.3)
<><><><>Move pic [1] 160x128 (.3)
<><><><>Move pic [2] 160x144 (.3)
<><><><>Move pic [3] 160x160 (.3)
<><><><>Wait .3
<><><><>Fork Pocket2=0
<><><><><>Show pic [3] Items-empty 160x112
<><><><>fork Pocket2=1
<><><><><>Show pic [3] Items-potion 160x112
<><><><>fork Pocket2=2
<><><><><>Show pic [3] Items-Tonic 160x112
<><><><>fork Pocket2=3
<><><><><>Show pic [3] Items-reviver 160x112
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] - 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1
<><><>Fork Cursorpocket=4                         
<><><><>fork Pocket3=0
<><><><><>Show pic [4] Items-empty 160x96
<><><><>fork Pocket3=1
<><><><><>Show pic [4] Items-potion 160x96
<><><><>fork Pocket3=2
<><><><><>Show pic [4] Items-Tonic 160x96
<><><><>fork Pocket3=3
<><><><><>Show pic [4] Items-reviver 160x96
<><><><>Move pic [4] 160x112 (.3)
<><><><>Move pic [3] 160x128 (.3)
<><><><>Move pic [1] 160x144 (.3)
<><><><>Move pic [2] 160x160 (.3)
<><><><>Wait .3
<><><><>Fork Pocket3=0
<><><><><>Show pic [2] Items-empty 160x112
<><><><>fork Pocket3=1
<><><><><>Show pic [2] Items-potion 160x112
<><><><>fork Pocket3=2
<><><><><>Show pic [2] Items-Tonic 160x112
<><><><>fork Pocket3=3
<><><><><>Show pic [2] Items-reviver 160x112
<><><><>Wait .1
<><><><>Eras pic [4]
<><><>Change var: [Cursorpocket] - 1                    <<<< ADDED IN NEW VERSION
<><><><>Goto Label1                                      
<><>Fork Cursorlocation=2
<><><>Show pic [6] 160x112 (50%)
<><><>Change var: [Cursorlocation] Set 1
<><><>Change var: [Cursorpocket] - 1
<><><>Goto Label1
<><>Fork Cursorlocation=3
<><><>Show pic [6] 160x128 (50%)
<><><>Change var: [Cursorlocation] Set 2
<><><>Change var: [Cursorpocket] - 1
<><><>Goto Label1
<>Wait .1 Goto Label1
<>Fork Entrypass=5
<><>Fork cursorlocation=1
<><><>Fork cursorpocket=1
<><><><>...                        
<><><>Fork cursorpocket=2
<><><><>...                      
<><><>Fork cursorpocket=3
<><><><>...                        
<><><>Fork cursorpocket=4
<><><><>...                     
<><><>Fork cursorpocket=5
<><><><>...                     
<><><>Fork cursorpocket=6
<><><><>...                        
<><>Fork cursorlocation=2
<><><>Fork cursorpocket=1
<><><><>...                       
<><><>Fork cursorpocket=2
<><><><>...                         
<><><>Fork cursorpocket=3
<><><><>...                    
<><><>Fork cursorpocket=4
<><><><>...                 
<><><>Fork cursorpocket=5
<><><><>...                    
<><><>Fork cursorpocket=6
<><><><>...                   
<><>Fork cursorlocation=3
<><><>Fork cursorpocket=1
<><><><>...                        
<><><>Fork cursorpocket=2
<><><><>...                       
<><><>Fork cursorpocket=3
<><><><>...                      
<><><>Fork cursorpocket=4
<><><><>...                     
<><><>Fork cursorpocket=5
<><><><>...                     
<><><>Fork cursorpocket=6
<><><><>...                     
<>Fork Entrypass=6
<><> Eras Pic [1]
<><> Eras Pic [2]
<><> Eras Pic [3]
<><> Eras Pic [4]
<><> Eras Pic [5]
<><> Shows Pic [6] X,Y
<><>Goto Label?
 ____________________________________________
|         Summary                            |
|____________________________________________|

Thats all folks!! phew, that was a lot of typing, actually making the menu is a lot easier
then making a tut about it. Well anyway i think this should pretty much cover it, if you think
you dont understand it, well, then i probably wasnt clear enough about some things, but
dont go asking me, I just thought of doing you people a favor, so do me a favor too:
Dont send me any questions regarding this tut
You may however, post some in the comments/replies but pls. dont send me private messages.
Anyways, byebye!