Skip to content

Commit

Permalink
deploy: 0c0387a
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Nov 29, 2024
1 parent 5673dbd commit 5c80ebb
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 43 deletions.
2 changes: 1 addition & 1 deletion assets/sa/classes.db
Original file line number Diff line number Diff line change
Expand Up @@ -2422,7 +2422,7 @@ Random,0099,0,0,("%i")
RandomFloatInRange,0208,0,0,("min%f" "max%f" "result%f")
RandomIntInRange,0209,0,0,("min%i" "max%i" "result%i")
RandomPercent,0E4D,1,0,("percent%i")
RandomPick,2706,0,0,("values: arguments" "result%f")
RandomPick,2707,0,0,("values: arguments" "result%s")
SetBit,2701,0,0,("number%i" "bitIndex%i")
SignExtend,0B1E,0,0,("value%i" "fromSize%i")
Sin,02F6,0,0,("angle%f" "result%f")
Expand Down
3 changes: 1 addition & 2 deletions assets/sa/opcodes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,6 @@
{0A4B:} is_pc_using_joypad
{0A4C:} is_mouse_using_vertical_inversion
{0A4E:} is_xbox_player2_pressing_start
{2707:} [var result: string] = pick_random_text {values} [arguments]
{0A8C:} write_memory {address} [int] {size} [int] {value} [any] {vp} [bool]
{0A8D:} [var result: any] = read_memory {address} [int] {size} [int] {vp} [bool]
{0A8E:} [var int] = [int] + [int]
Expand Down Expand Up @@ -2310,7 +2309,7 @@
{2704:} is_truthy {value} [any]
{2705:} [var result: int] = pick_random_int {values} [arguments]
{2706:} [var result: float] = pick_random_float {values} [arguments]
{2707:} [var float] = [float] * [float]
{2707:} [var result: string] = pick_random_text {values} [arguments]
{2708:} [var float] = [float] / [float]
{2400:} copy_memory {src} [int] {dest} [int] {size} [int]
{2401:} [var result: int] = read_memory_with_offset {address} [int] {offset} [int] {size} [int]
Expand Down
52 changes: 14 additions & 38 deletions assets/sa/sa.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"meta": {
"last_update": 1732892219549,
"version": "0.798",
"last_update": 1732892664620,
"version": "0.799",
"url": "https://library.sannybuilder.com/#/sa"
},
"extensions": [
Expand Down Expand Up @@ -46665,30 +46665,6 @@
"attrs": {
"is_condition": true
}
},
{
"input": [
{
"name": "values",
"type": "arguments"
}
],
"output": [
{
"name": "result",
"type": "string",
"source": "var_any"
}
],
"id": "2707",
"name": "PICK_RANDOM_TEXT",
"num_params": 2,
"class": "Math",
"attrs": {
"is_static": true
},
"member": "RandomPick",
"short_desc": "Selects one random text from provided values"
}
]
},
Expand Down Expand Up @@ -63520,26 +63496,26 @@
{
"input": [
{
"name": "",
"type": "float"
},
{
"name": "",
"type": "float"
"name": "values",
"type": "arguments"
}
],
"output": [
{
"name": "",
"type": "float",
"name": "result",
"type": "string",
"source": "var_any"
}
],
"id": "2707",
"name": "FLOAT_MUL",
"num_params": 3,
"short_desc": "Multiplies two float values and writes the result into the variable",
"operator": "*"
"name": "PICK_RANDOM_TEXT",
"num_params": 2,
"class": "Math",
"attrs": {
"is_static": true
},
"member": "RandomPick",
"short_desc": "Selects one random text from provided values"
},
{
"input": [
Expand Down
2 changes: 1 addition & 1 deletion assets/support-info.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1732892288981,
"timestamp": 1732892732867,
"index": "/index.html",
"assetGroups": [
{
Expand Down

0 comments on commit 5c80ebb

Please sign in to comment.