Talk:Making a Re-Patch/@comment-217.43.182.218-20140423182550

Hey guys, I have a question, it's about battles.

Ginrikuzuma was explaining the subroutes and says:

"Then since we are player 0 we will load the sprite with Luka's face as the avatar."

For my question - http://prntscr.com/3ciy1a

In the red section, the sub route gives us all the options on whose character we are playing as, and obviously, we are playing as Luka so he is "0". But on the blue section of the picture, the script doesn't say anything or doesn't include a code of some sort to say anything along the lines of 'We are playing as Luka' or 'Select 0'. How does the game know to select "0"?

This question doesn't just apply to this case either, other gosubs take us to sub routes where it determines what player we are, but they only give choises, I dont see how a "gosub *syutugen2" would choose which player we are if "syutugen2" is like, a selection of choices? Same with setwindow and other sub routes.

Thanks in advance