Skip to content

Instantly share code, notes, and snippets.

View Yanis002's full-sized avatar

Yanis Yanis002

View GitHub Profile
@Yanis002
Yanis002 / gz_savestate_renamer.py
Created August 11, 2023 14:24
rename gz savestates
from os import walk, rename
# set the filenames without the index here
# the index will be added automatically later
# what I'm doing is: 1. make the state, 2. export it and 3. write the corresponding name in notepad
# then simply copy paste there and add the ``"`` for the syntax
names = [
"Link's House",
"KF From Shop",
"Aqua Escape",
@Yanis002
Yanis002 / rainbow.h
Last active January 27, 2023 15:26
Rainbow
#ifndef RAINBOW_H
#define RAINBOW_H
#include "ultra64/ultratypes.h"
#include "libc/stdbool.h"
#include "libc/stddef.h"
#include "color.h"
typedef enum ColorState {
STATE_RED_TO_YELLOW,