After working ALOT with numbers in scripts (naturally...) I'm getting tired of having to create my silly boolean for determining numbers as "Odd" or "Even" everytime I make a Window Selectable that I want to use an alternating placement structure.
E.G.
NORMAL:
1
2
3
4
ALTERNATING:
1 2
3 4
Anyhow, I find myself repeatedly using this method for menus and having to make a boolean for it. I already realize I can just add the boolean structure to Window_Selectable itself as a new argument for the class being "Alternating" or "Normal" sorting method. (I have done so before.)
However, I also find myself needing this in other situations besides sorting methods...And so, I am wondering:
How do I go about adding a "Odd" or "Even" determinating function to the Numerical class? Or in that case, adding a function to any pre-existent class in RMXP?