- 66
- Posts
- 12
- Years
- Seen Feb 9, 2017
I'm here with another question.
I've had many of my questions fixed quite easy, but this one is stopping me from moving forward in a way.
I've changed the game I'm working on slightly and one of my edits is focussed on how the battle boxes work, I've got 1 half of the problem fixed, but the second half is the problem.
I suppose this question is mainly aimed at Maruno, but if anyone can help that would be great.
I know @databox is what the battle boxes are saved to.
I know where they are located, since there is only one place.
In PokeBattle_ActualScene def refresh calls this:
On first look, I guess the first line clears the databox and the third line recalls it... But let's say the next Pokémon called is a shiny and I wanted this databox to look somewhat different, color, shape, whatever the option, how would one effect the next databox that reappears?
I've had many of my questions fixed quite easy, but this one is stopping me from moving forward in a way.
I've changed the game I'm working on slightly and one of my edits is focussed on how the battle boxes work, I've got 1 half of the problem fixed, but the second half is the problem.
I suppose this question is mainly aimed at Maruno, but if anyone can help that would be great.
I know @databox is what the battle boxes are saved to.
I know where they are located, since there is only one place.
In PokeBattle_ActualScene def refresh calls this:
Code:
self.bitmap.clear
return if [email protected]
self.bitmap.blt(0,0,@databox.bitmap,Rect.new(0,0,@databox.width,@databox.height))