mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 08:12:41 +02:00
16 lines
266 B
C
16 lines
266 B
C
#include <ultra64.h>
|
|
#include "constants.h"
|
|
#include "game/game_01d990.h"
|
|
#include "bss.h"
|
|
#include "data.h"
|
|
#include "types.h"
|
|
|
|
void func0f01d990(void)
|
|
{
|
|
var8007db80 += g_Vars.lvupdate240freal * var8007db84;
|
|
|
|
if (var8007db80 > 4096) {
|
|
var8007db80 -= 4096;
|
|
}
|
|
}
|