Skip to content

Instantly share code, notes, and snippets.

_dp("\n[chr019_mv_0.txt]");
// 行動リストテーブル
// Param2 : 1 前転振り向き処理をやらない
local t = {};
const def_ObjID_chat = 1; // チャット欄のコメントに割り振るオブジェクトID
local pat_num_NecoFukitobi = BMvEff.GetPatternNum( { datatype=0, pat="NecoFukitobi" } ); // パターン文字列のパターン番号を事前取得 よく使うので最初に定義
#include <algorithm>
#include <type_traits>
#include <utility>
using std::size_t;
template<typename Target>
class field_list {
template<size_t N>
struct reader {
#include <cstdio>
static int abs(int n)
{
const auto mask = n << 31;
return (n ^ mask) - mask;
}
static int odd_digit_sum_base4(int n)
{
ulonglong readVariableLengthIntImpl(byte *buf,uint *size)
{
ulonglong uVar1;
ulonglong uVar2;
ulonglong uVar3;
ulonglong uVar4;
ulonglong uVar5;
ulonglong uVar6;
public void CountGameCompletion()
{
this.completionPercentage = 0.0f;
this.CountCharms();
this.completionPercentage += (float) this.charmsOwned;
if (this.killedFalseKnight)
++this.completionPercentage;
if (this.hornet1Defeated)
++this.completionPercentage;
if (this.hornetOutskirtsDefeated)
#include "hsd/cobj.h"
#include "hsd/gobj.h"
#include "hsd/pad.h"
#include "hsd/video.h"
#include "latency/pdf_vb.h"
#include "melee/text.h"
#include "os/alarm.h"
#include "os/os.h"
#include "os/serial.h"
#include "os/thread.h"
template<string_literal line1, string_literal line2>
static constexpr auto make_description_text()
{
return text_builder::build(
text_builder::kern(),
text_builder::left(),
text_builder::color<170, 170, 170>(),
text_builder::scale<179, 179>(),
text_builder::fade_interval<0, 0>(),
text_builder::fit(),
#pragma once
#include "melee/text.h"
#include "util/meta.h"
#include <tuple>
namespace text_builder {
template<auto c>
constexpr auto ascii_to_melee()
#include "hsd/cobj.h"
#include "hsd/gobj.h"
#include "hsd/pad.h"
#include "hsd/video.h"
#include "latency/pdf_vb.h"
#include "melee/text.h"
#include "os/alarm.h"
#include "os/os.h"
#include "os/serial.h"
#include "os/thread.h"
"FiringCurve": {
"EditorCurveData": {
"Keys": [
{
"InterpMode": "RCIM_Cubic",
"TangentMode": "RCTM_User",
"TangentWeightMode": "RCTWM_WeightedNone",
"Time": 0.0,
"Value": 0.4,
"ArriveTangent": 0.13925,