Skip to content

Instantly share code, notes, and snippets.

@PhoenixBound
PhoenixBound / stdext.ccs
Created March 15, 2024 23:47
Proposed CCScript standard library additions/changes
/*
* RFC: CCScript Standard Library draft
* Last modified date: 2024-03-15
*/
/* Simple commands */
command linebreak "[00]"
command newline "[01]"
command eob "[02]"
@PhoenixBound
PhoenixBound / character_naming_sprite_changer.ccs
Last active May 15, 2023 16:22
Character naming/summary sprite changer
// Character Naming Sprite Changer by PhoenixBound
// Summary screen parts by Tzepish
// Last updated 2021-08-21
// Modifies the sprites that appear on the naming screen and the summary at the end.
import asm65816
ness: {
naming_screen_sprite(1, 502)
naming_screen_sprite(14, 503)
/*ASM Code to implement a proper Run Button patch to EarthBound with CoilSnake*/
/*Made by ShadowOne333 for MaternalBound (https://forum.starmen.net/forum/Community/PKHack/WIP-MaternalBound-Uncensoring-Other-junk-hack)*/
import asm65816
ROM[0xC094E3] = {
JSL (burned_status) // Jump to our ASM custom subroutine
NOP // No operation
NOP // No operation
}
/* Expanded Naming Screens
* Last updated 2020-06-01
*
* Made by PhoenixBound
* Original Naming Screen editing script by TragicManner
* Shifted positions for buttons by ShadowOne333 and PhoenixBound
*/
import asm65816
@PhoenixBound
PhoenixBound / custom_text_color.ccs
Last active November 1, 2019 02:37
Improved text_color (EarthBound)
/**
* Arbitrary color text
*
* Usage: `command custom_text_color(color) "[1C 00 02 {short color}]"`
* where color is a 15-bit BGR color value.
* Reset to main color with `text_color(0)` or `text_color(1)`.
*
* Setup: Change the second magenta color in each window graphics PNG to the
* window background color.
*
@PhoenixBound
PhoenixBound / name_fun.ccs
Last active December 15, 2018 01:56
EarthBound name-printing fun
/**
* name_fun.ccs
* Last updated 14 December 2018
*/
/**
* Base commands
*/
// Get a single character from a playable character's name.