okay, first thing is i noticed you had a health bar sprite included in that file. if you want to use that you will have to make it into an animated sprite with each sprite showing a percentage of the sprite. (10% each would be good so you can divide it up equally by 100). as health changes eatither use this:
set sprite frame sprideid,frame+1
or:
set sprite frame sprideid,frame-1
if health/max health is equal to thats sprite (eg a frame with 10% health would require health/max health to be between .1 and .19)
for the avatar, you would do basicaly the same thing. set up a sprite sheet to have 2 frames and make an animated sprite. and when sprite frame 1 (first avatar) is needed.:
set sprite frame spriteid,1
and do the same for 2, hope that helps.
`example
load image "hp_sprite.bmp",1
create animated sprite 1,"hp_sprite.bmp",10,1,1
sprite 1,x,y,1
load image "avatar_sprite.bmp",2
create animated sprite 2,"avatar_sprite.bmp",2,1,2
sprite 2,ax,ay,2
if m_health/health > .09 and m_health/health < .2
set sprite frame 1, 2 `sence 1 is no health
endif
`...ect
if current_avvy=1
set sprite frame ,2,1
endif
`...ect