Can't scroll horizontally the Event Window, can't see what I create...

Hi everyone !

Since a picture is worth 1,000 words, here is my problem :

https://ibb.co/cpTGZd

I want my project to be filled with randomness (I'm a huge rogue-like / Diablo fan), and since I have to create a massive event that implies tons of conditional branches inside tons of conditional branches, eventually, I can't see my events anymore and creating / editing them turns into a nightmare... Do you know if there is a way to fix this ?

EDIT : I thought I was sure I clicked on "RPG Maker VX Ace" and not "RPG Maker VX" when I created this thread -__- Sorry about that.

Moved it for you.

You can either have your event call common events so that you don't have to put all your conditions in a single event or use a script call with a switch-case in it - from what I see that's what you need. Since you have a single instruction for every condition something like that would be extremely compact and easy to the eye.

Spoiler: Here is an example of what you should write in your script call
Code:
case $game_variables[random_id]
when 1:
  #something happens
when 2:
  #something else happens
#etc.
end
Thanks Mlogan 🙂
And thank you very much for the quick help, Heirukichi! Since scripting is too advanced for me right now, I decided to go with common events. For example, for my random item drop outside battle, I just did this and it works. I'll just have to create more common events when the drops will change :

>Variable Operation : [0007:loot drop] = Random (1..69)
>Conditional Branch : Variable [0007:loot drop] > 64
-->Switch Operation [0001:loot>64] = ON
:ELSE
->Conditional Branch : Variable [0007:loot drop] > 48
-->Switch Operation [0001:loot>48] = ON
:ELSE
->Conditional Branch : Variable [0007:loot drop] > 32
-->Switch Operation [0001:loot>32] = ON
(...)
>Conditional Branch : Switch [0001:loot>64] == ON
-->Conditional Branch : Variable [0007:loot drop] == 65
-->Give "Item 1"
--> Display message "You obtained Item 1 !"
:ELSE
--->Conditional Branch : Variable [0007:loot drop] == 66
--->Give "Item 2"
--->Display message "You obtained Item 2 !"


...etc, until I configured all 69 possible drops. Going 16 by 16 with switches made sure the whole script is visible.

(Just explaining what I did in case noobs like me end up having the same problem and find this thread -- though I bet that, as you said, it's far from the best method. Just the best I could do with my little brain 😛)
@armorvil
you don't need else-branches for this if you take care to order the results correctly. That way you can even disable the display of the else-branch in your conditional branches, making them much more readable and no need for any scrolling to read.

for example if you check for greater, then you need to start with the highest number first and going down after that.
and in each branch, you add either "goto label endcheck" or "exit event processing" depending on wether you have something else to do or not - the label endcheck is placed after all branches if you want some commands to follow.

Original thread: https://forums.rpgmakerweb.com/threads/cant-scroll-horizontally-the-event-window-cant-see-what-i-create.96475/