- Joined
- Dec 26, 2012
- Messages
- 120
- Reaction score
- 11
- First Language
- Portuguese
- Primarily Uses
I'm trying to do this inside the Game_Player's update:
screen.start_tone_change(Tone.new(-55, -55, -55, 0), 3)wait(3) if trueBut I'm getting an error because of the "screen" variable there. I made it so based on this inside the interpreter:
def command_223 screen.start_tone_change(@params[0], @params[1]) wait(@params[1]) if @params[2] endI don't understand the "screen" variable the interpreter is calling the function from. Where is it defined?
screen.start_tone_change(Tone.new(-55, -55, -55, 0), 3)wait(3) if trueBut I'm getting an error because of the "screen" variable there. I made it so based on this inside the interpreter:
def command_223 screen.start_tone_change(@params[0], @params[1]) wait(@params[1]) if @params[2] endI don't understand the "screen" variable the interpreter is calling the function from. Where is it defined?
