Add common and charge animation data

pull/1/head
Flashfyre 2023-04-11 13:00:04 -04:00
parent 690e284f4d
commit 3f9fbc1267
56 changed files with 209060 additions and 26826 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,643 @@
{
"id": 2004,
"graphic": "PRAS- Status",
"frames": [
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": 0,
"y": -1.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 13,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": 0,
"y": -1.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 14,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": 0,
"y": -1.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 14,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": 0,
"y": -1.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 15,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": 0,
"y": -1.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 15,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": 0,
"y": -1.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 16,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
]
],
"frameTimedEvents": {
"0": [
{
"frameIndex": 0,
"resourceName": "PRSFX- Burn.wav",
"volume": 100,
"pitch": 100,
"eventType": "AnimTimedSoundEvent"
}
]
},
"position": 2,
"hue": 0
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,747 @@
{
"id": 2006,
"graphic": "PRAS- Status",
"frames": [
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": -1,
"y": -7.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 26,
"opacity": 100,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": -1,
"y": -7.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 26,
"opacity": 200,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": -1,
"y": -7.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 26,
"opacity": 200,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": -1,
"y": -7.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 26,
"opacity": 150,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": -1,
"y": -7.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 26,
"opacity": 200,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": -1,
"y": -7.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 26,
"opacity": 90,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
},
{
"x": -1,
"y": -7.5,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 2,
"graphicFrame": 26,
"opacity": 50,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
}
]
],
"frameTimedEvents": {
"0": [
{
"frameIndex": 0,
"resourceName": "PRSFX- Frozen.wav",
"volume": 100,
"pitch": 100,
"eventType": "AnimTimedSoundEvent"
}
]
},
"position": 2,
"hue": 0
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,649 @@
{
"id": 1005,
"graphic": "",
"frames": [
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 226,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 198,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 170,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 141,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 113,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 85,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 56,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 28,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 0,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
]
],
"frameTimedEvents": {
"0": [
{
"frameIndex": 0,
"resourceName": "PRSFX- Phantom Force1.wav",
"volume": 100,
"pitch": 100,
"eventType": "AnimTimedSoundEvent"
}
]
},
"position": 4,
"hue": 0
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,649 @@
{
"id": 1006,
"graphic": "",
"frames": [
[
{
"x": 0,
"y": 6,
"zoomX": 98,
"zoomY": 98,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 12,
"zoomX": 96,
"zoomY": 96,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 19,
"zoomX": 94,
"zoomY": 94,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 25,
"zoomX": 92,
"zoomY": 92,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 32,
"zoomX": 90,
"zoomY": 90,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 24,
"zoomX": 92,
"zoomY": 92,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 16,
"zoomX": 95,
"zoomY": 95,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 8,
"zoomX": 97,
"zoomY": 97,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
],
[
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 0,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 2
},
{
"x": 0,
"y": 0,
"zoomX": 100,
"zoomY": 100,
"angle": 0,
"mirror": false,
"visible": false,
"blendType": 0,
"target": 1,
"graphicFrame": 0,
"opacity": 255,
"color": [
0,
0,
0,
0
],
"tone": [
0,
0,
0,
0
],
"flash": [
0,
0,
0,
0
],
"locked": false,
"priority": 1,
"focus": 1
}
]
],
"frameTimedEvents": {
"0": [
{
"frameIndex": 0,
"resourceName": "PRSFX- Skull Bash1.wav",
"volume": 100,
"pitch": 80,
"eventType": "AnimTimedSoundEvent"
}
]
},
"position": 4,
"hue": 0
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,6 @@ import BattleScene from "./battle-scene";
import { Moves } from "./move"; import { Moves } from "./move";
import Pokemon, { EnemyPokemon, PlayerPokemon } from "./pokemon"; import Pokemon, { EnemyPokemon, PlayerPokemon } from "./pokemon";
import * as Utils from "./utils"; import * as Utils from "./utils";
import fs from 'vite-plugin-fs/browser';
export enum AnimFrameTarget { export enum AnimFrameTarget {
USER, USER,
@ -18,6 +17,61 @@ enum AnimFocus {
SCREEN SCREEN
} }
export enum ChargeAnim {
FLY_CHARGING = 1000,
BOUNCE_CHARGING,
DIG_CHARGING,
DIVE_CHARGING,
SOLAR_BEAM_CHARGING,
SHADOW_FORCE_CHARGING,
SKULL_BASH_CHARGING,
FREEZE_SHOCK_CHARGING,
SKY_DROP_CHARGING,
SKY_ATTACK_CHARGING,
ICE_BURN_CHARGING,
DOOM_DESIRE_CHARGING,
RAZOR_WIND_CHARGING
}
export enum CommonAnim {
HEALTH_UP = 2000,
SLEEP,
POISON,
TOXIC,
BURN,
PARALYSIS,
FROZEN,
CONFUSION,
ATTRACT,
BIND,
WRAP,
CURSE_NO_GHOST,
LEECH_SEED,
FIRE_SPIN,
PROTECT,
COVET,
WHIRLPOOL,
BIDE,
SAND_TOMB,
QUICK_GUARD,
WIDE_GUARD,
CURSE,
MAGMA_STORM,
CLAMP,
SUNNY = 2100,
RAIN,
SANDSTORM,
HAIL,
WIND,
HEAVY_RAIN,
HARSH_SUN,
STRONG_WINDS,
MISTY_TERRAIN = 2110,
ELECTRIC_TERRAIN,
GRASSY_TERRAIN,
PSYCHIC_TERRAIN
}
export class Anim { export class Anim {
public id: integer; public id: integer;
public graphic: string; public graphic: string;
@ -279,6 +333,8 @@ class AnimTimedAddBgEvent extends AnimTimedBgEvent {
} }
export const moveAnims = new Map<Moves, Anim | [Anim, Anim]>(); export const moveAnims = new Map<Moves, Anim | [Anim, Anim]>();
export const chargeAnims = new Map<ChargeAnim, Anim>();
export const commonAnims = new Map<CommonAnim, Anim>();
export function initAnim(move: Moves): Promise<void> { export function initAnim(move: Moves): Promise<void> {
return new Promise(resolve => { return new Promise(resolve => {
@ -453,6 +509,13 @@ export class MoveAnim {
export function populateAnims() { export function populateAnims() {
return; return;
const commonAnimNames = Utils.getEnumKeys(CommonAnim).map(k => k.toLowerCase());
const commonAnimMatchNames = commonAnimNames.map(k => k.replace(/\_/g, ''));
const commonAnimIds = Utils.getEnumValues(CommonAnim) as CommonAnim[];
const chargeAnimNames = Utils.getEnumKeys(ChargeAnim).map(k => k.toLowerCase());
const chargeAnimMatchNames = chargeAnimNames.map(k => k.replace(/\_/g, ' '));
const chargeAnimIds = Utils.getEnumValues(ChargeAnim) as ChargeAnim[];
const commonNamePattern = /name: (?:Common:)?(.*)/;
const moveNameToId = {}; const moveNameToId = {};
for (let move of Utils.getEnumValues(Moves)) { for (let move of Utils.getEnumValues(Moves)) {
const moveName = Moves[move].toUpperCase().replace(/\_/g, ''); const moveName = Moves[move].toUpperCase().replace(/\_/g, '');
@ -463,15 +526,28 @@ export function populateAnims() {
const fields = animsData[a].split('@').slice(1); const fields = animsData[a].split('@').slice(1);
let isOppMove: boolean; let isOppMove: boolean;
if (!fields[1].startsWith('name: Move:') && !(isOppMove = fields[1].startsWith('name: OppMove:'))) let commonAnimId: CommonAnim;
continue; let chargeAnimId: ChargeAnim;
if (!fields[1].startsWith('name: Move:') && !(isOppMove = fields[1].startsWith('name: OppMove:'))) {
const nameMatch = commonNamePattern.exec(fields[1]);
const name = nameMatch[1].toLowerCase();
if (commonAnimMatchNames.indexOf(name) > -1)
commonAnimId = commonAnimIds[commonAnimMatchNames.indexOf(name)];
else if (chargeAnimMatchNames.indexOf(name) > -1)
chargeAnimId = chargeAnimIds[chargeAnimMatchNames.indexOf(name)];
}
const nameIndex = fields[1].indexOf(':', 5) + 1; const nameIndex = fields[1].indexOf(':', 5) + 1;
const moveName = fields[1].slice(nameIndex, fields[1].indexOf('\n', nameIndex)); const animName = fields[1].slice(nameIndex, fields[1].indexOf('\n', nameIndex));
if (!moveNameToId.hasOwnProperty(moveName)) if (!moveNameToId.hasOwnProperty(animName) && !commonAnimId && !chargeAnimId)
continue; continue;
let anim = new Anim(); let anim = new Anim();
anim.id = moveNameToId[moveName]; anim.id = commonAnimId || chargeAnimId || moveNameToId[animName];
moveAnims.set(moveNameToId[moveName], !isOppMove ? anim : [ moveAnims.get(moveNameToId[moveName]) as Anim, anim ]); if (commonAnimId)
commonAnims.set(commonAnimId, anim);
else if (chargeAnimId)
chargeAnims.set(chargeAnimId, anim);
else
moveAnims.set(moveNameToId[animName], !isOppMove ? anim : [ moveAnims.get(moveNameToId[animName]) as Anim, anim ]);
for (let f = 0; f < fields.length; f++) { for (let f = 0; f < fields.length; f++) {
const field = fields[f]; const field = fields[f];
const fieldName = field.slice(0, field.indexOf(':')); const fieldName = field.slice(0, field.indexOf(':'));
@ -563,16 +639,32 @@ export function populateAnims() {
} }
} }
const animReplacer = (k, v) => {
if (v instanceof Map)
return Object.fromEntries(v);
if (v instanceof AnimTimedEvent)
v['eventType'] = v.getEventType();
return v;
}
/*for (let ma of moveAnims.keys()) { /*for (let ma of moveAnims.keys()) {
const data = moveAnims.get(ma); const data = moveAnims.get(ma);
(async () => { (async () => {
await fs.writeFile(`./public/battle-anims/${Moves[ma].toLowerCase().replace(/\_/g, '-')}.json`, JSON.stringify(data, (k, v) => { await fs.writeFile(`./public/battle-anims/${Moves[ma].toLowerCase().replace(/\_/g, '-')}.json`, JSON.stringify(data, animReplacer, ' '));
if (v instanceof Map) })();
return Object.fromEntries(v); }
if (v instanceof AnimTimedEvent)
v['eventType'] = v.getEventType(); for (let ca of chargeAnims.keys()) {
return v; const data = chargeAnims.get(ca);
}, ' ')); (async () => {
await fs.writeFile(`./public/battle-anims/${chargeAnimNames[chargeAnimIds.indexOf(ca)].replace(/\_/g, '-')}.json`, JSON.stringify(data, animReplacer, ' '));
})();
}
for (let cma of commonAnims.keys()) {
const data = commonAnims.get(cma);
(async () => {
await fs.writeFile(`./public/battle-anims/common-${commonAnimNames[commonAnimIds.indexOf(cma)].replace(/\_/g, '-')}.json`, JSON.stringify(data, animReplacer, ' '));
})(); })();
}*/ }*/
} }

View File

@ -581,7 +581,8 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
} }
getExpValue(victor: Pokemon): integer { getExpValue(victor: Pokemon): integer {
return ((this.species.baseExp * this.level) / 5) * ((Math.round(Math.sqrt(2 * this.level + 10)) * Math.pow(2 * this.level + 10, 2)) / (Math.round(Math.sqrt(this.level + victor.level + 10)) * Math.pow(this.level + victor.level + 10, 2))) + 1; return ((this.species.baseExp * this.level) / 5) * ((Math.round(Math.sqrt(2 * this.level + 10))
* Math.pow(2 * this.level + 10, 2)) / (Math.round(Math.sqrt(this.level + victor.level + 10)) * Math.pow(this.level + victor.level + 10, 2))) + 1;
} }
tint(color: number, alpha?: number, duration?: integer, ease?: string) { tint(color: number, alpha?: number, duration?: integer, ease?: string) {

View File

@ -54,7 +54,11 @@ export function decToBin(input: integer): string {
return bin; return bin;
} }
export function getEnumValues(enumType) { export function getEnumKeys(enumType): string[] {
return Object.values(enumType).filter(v => isNaN(parseInt(v.toString()))).map(v => v.toString());
}
export function getEnumValues(enumType): integer[] {
return Object.values(enumType).filter(v => !isNaN(parseInt(v.toString()))).map(v => parseInt(v.toString())); return Object.values(enumType).filter(v => !isNaN(parseInt(v.toString()))).map(v => parseInt(v.toString()));
} }