# FNFFD Functions

these functions are directly used in base game fnffd!

### scr\_cbounce(firstbeat: Int,secondbeat: Int,thirdbeat: Int,fourthbeat: Int,frequency: Int)

firstbeat to fourthbeat all are the camera bounce intensity\
if frequency is higher than 1, camera will bounce on odd numbered beats\
\
EXAMPLE:

<pre class="language-lua"><code class="lang-lua"><strong>function onCreatePost()
</strong><strong>    scr_cbounce(5,5,5,5,2)
</strong><strong>end
</strong></code></pre>

### scr\_drawcd(x: Int, y: Int)

draws cd boy's body, make sure your opponent uses cd boy's head sprites for this to look normal lol

EXAMPLE:

```lua
function onCreatePost()
    scr_drawcd(170,303)
end
```

### scr\_charpos(badguyX: Int, badguyY: Int, playerX: Int, playerY: Int, ladyX: Int, ladyY: Int)

sets character positions

EXAMPLE:

```lua
function onCreatePost()
    scr_charpos(244,368,578,368,420,343) -- taken from summer lol
    -- lady's X and Y can be set to -1 to KILL her
    
    --[[
        you could also do smth like this but its your choice: 
        obj_badguy.x = 244
        obj_badguy.y = 368
    ]]--
end
```
