Commit Message
This commit is contained in:
parent
f20c4b7469
commit
92e13fdf7b
3 changed files with 38 additions and 4 deletions
|
@ -90,7 +90,15 @@ if((mouse_x >= x && mouse_x <= x+424) && (mouse_y >= y
|
|||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>selected_slot --;
|
||||
selected_slot = selected_slot % 9;
|
||||
selected_slot = selected_slot % 8;
|
||||
if(selected_slot < 0)
|
||||
{
|
||||
selected_slot = 0;
|
||||
}
|
||||
if(selected_slot > 8)
|
||||
{
|
||||
selected_slot = 8;
|
||||
}
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
@ -114,7 +122,14 @@ selected_slot = selected_slot % 9;
|
|||
<argument>
|
||||
<kind>1</kind>
|
||||
<string>selected_slot ++;
|
||||
selected_slot = selected_slot % 9;
|
||||
if(selected_slot < 0)
|
||||
{
|
||||
selected_slot = 0;
|
||||
}
|
||||
if(selected_slot > 8)
|
||||
{
|
||||
selected_slot = 8;
|
||||
}
|
||||
</string>
|
||||
</argument>
|
||||
</arguments>
|
||||
|
|
Reference in a new issue