| 3709 | } |
| 3710 | |
| 3711 | int16 cFodder::Sprite_Create_RandomExplosion() { |
| 3712 | int16 Data0 = 1; |
| 3713 | sSprite* Data2C = 0, *Data30 = 0; |
| 3714 | |
| 3715 | if (Sprite_Get_Free_Max42(Data0, Data2C, Data30)) { |
| 3716 | Data0 = -1; |
| 3717 | return -1; |
| 3718 | } |
| 3719 | |
| 3720 | Data2C->field_0 = mMapTile_TargetX >> 16; |
| 3721 | Data0 = tool_RandomGet() & 0xFF; |
| 3722 | Data0 += 0x0A; |
| 3723 | |
| 3724 | Data2C->field_0 += Data0; |
| 3725 | Data2C->field_4 = mMapTile_TargetY >> 16; |
| 3726 | |
| 3727 | Data0 = tool_RandomGet() & 0xFF; |
| 3728 | Data0 -= 0x14; |
| 3729 | |
| 3730 | Data2C->field_4 += Data0; |
| 3731 | Data2C->field_18 = eSprite_Explosion; |
| 3732 | return Data0; |
| 3733 | } |
| 3734 | |
| 3735 | void cFodder::Draw_Phase_Paused() { |
| 3736 | mSurface2->clearBuffer(); |
nothing calls this directly
no outgoing calls
no test coverage detected