blob: 8094c54e35af14dde3273e0e42c3c5161b375957 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <libultraship.h>
#include "main.h"
#include "code_800029B0.h"
#include "common_structs.h"
void moon_jump(Player* player, struct Controller* controller) {
if (controller->button & L_TRIG) {
if (player->velocity.y <= 3.2f) {
player->velocity.y += 0.5f;
}
}
}
|