| 225 | } |
| 226 | |
| 227 | void Sprite_Actor::CreateSprite() { |
| 228 | auto* battler = GetBattler(); |
| 229 | |
| 230 | images = {{battler->GetDisplayX(), battler->GetDisplayY()}}; |
| 231 | |
| 232 | SetX(images.back().x); |
| 233 | SetY(images.back().y); |
| 234 | |
| 235 | // Not animated -> Monster |
| 236 | SetOx(24); |
| 237 | SetOy(24); |
| 238 | ResetZ(); |
| 239 | SetAnimationState(anim_state); |
| 240 | idling = true; |
| 241 | } |
| 242 | |
| 243 | void Sprite_Actor::DoIdleAnimation() { |
| 244 | auto* battler = GetBattler(); |
nothing calls this directly
no test coverage detected