Alright. This will allow you to keep a balloon animating over a player/event/vehicle/follower for as long as you want.
Insert into a new script slot.
Spoiler
class Game_CharacterBase #-------------------------------------------------------------------------- # * Public Instance Variables #-------------------------------------------------------------------------- attr_accessor :loop_balloon # Balloon looping #-------------------------------------------------------------------------- # * Initialize Public Member Variables #-------------------------------------------------------------------------- alias shaz_rb_init_public_members init_public_members def init_public_members shaz_rb_init_public_members @loop_balloon = false endendclass Sprite_Character < Sprite_Base #-------------------------------------------------------------------------- # * Update Balloon Icon #-------------------------------------------------------------------------- def update_balloon if @balloon_duration > 0 @balloon_duration -= 1 if @balloon_duration == 0 && @character.loop_balloon @balloon_duration = 8 * balloon_speed + balloon_wait end if @balloon_duration > 0 @balloon_sprite.x = x @balloon_sprite.y = y - height @balloon_sprite.z = z + 200 sx = balloon_frame_index * 32 sy = (@balloon_id - 1) * 32 @balloon_sprite.src_rect.set(sx, sy, 32, 32) else end_balloon end end endend
To make a balloon repeat on an event, do this:
Script: $game_map.events[id].loop_balloon = trueShow Balloon Icon: EVID, BalloonWhen you're ready for it to stop, do this:
Code:
Script: $game_map.events[id].loop_balloon = false
If you want the balloon on the player instead, just say $game_player instead of $game_map.events[id]You can also do this:
Set Move Route: This Event (or Player, or whatever) : Script: loop_balloon = trueNow you can get rid of your parallel process event, and just have the action triggered by Action Button whenever you serve a customer or pick up an item.