File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ export type PKMInterface = AllPKMFields & {
2525 // If met in a plugin save, this will be the save's plugin_identifier. otherwise this is empty
2626 pluginOrigin ?: PluginIdentifier // why are there two of these??
2727 isFakemon ?: boolean
28- originalBytes ?: Uint8Array
2928 selectColor ?: string
3029 // User-defined display color for this Pokemon in boxes (CSS color string)
3130 displayColor ?: string
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export abstract class PK3CFRU implements PluginPKMInterface {
112112 trainerName : string
113113 trainerGender : boolean
114114 isFakemon : boolean = false
115- originalBytes ?: Uint8Array
115+ originalBytes ?: ArrayBuffer
116116
117117 pluginForm ?: number
118118
@@ -123,7 +123,7 @@ export abstract class PK3CFRU implements PluginPKMInterface {
123123 let buffer = arg
124124 const dataView = new DataView ( buffer )
125125
126- this . originalBytes = new Uint8Array ( arg )
126+ this . originalBytes = arg
127127
128128 // https://github.com/Skeli789/Complete-Fire-Red-Upgrade/blob/master/include/new/pokemon_storage_system.h
129129 // https://github.com/Skeli789/Complete-Fire-Red-Upgrade/blob/master/include/pokemon.h
You can’t perform that action at this time.
0 commit comments