File tree Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -41,26 +41,18 @@ mappings([
41
41
const quantity = read ( dc . w ) ;
42
42
read ( dc . w ) ;
43
43
read ( dc . w ) ;
44
- // console.log(1);
45
- // console.log(quantity);
46
44
return quantity > 0 && ( ( { mapping } , i ) => {
47
- mapping . art = read ( dc . b ) ;
48
- mapping . left = read ( dc . b ) ;
49
- mapping . top = read ( dc . b ) ;
50
45
read ( dc . b ) ;
51
- read ( dc . b ) ;
52
- read ( dc . b ) ;
53
-
54
-
55
- // mapping.top = read(dc.b, signed);
56
- // read(nybble);
57
- // mapping.width = read(2) + 1;
58
- // mapping.height = read(2) + 1;
59
- // mapping.priority = read(1);
60
- // mapping.palette = read(2);
61
- // mapping.vflip = read(1);
62
- // mapping.hflip = read(1);
63
- // mapping.left = read(dc.b, signed);
46
+ mapping . left = read ( dc . b , signed ) ;
47
+ mapping . top = read ( dc . b , signed ) ;
48
+ read ( nybble ) ;
49
+ mapping . width = read ( 2 ) + 1 ;
50
+ mapping . height = read ( 2 ) + 1
51
+ mapping . art = read ( dc . w ) ;
52
+ mapping . priority = false ;
53
+ mapping . vflip = false ;
54
+ mapping . hflip = false ;
55
+ mapping . palette = 0 ;
64
56
if ( i === quantity ) return endFrame ;
65
57
} ) ;
66
58
} ,
You can’t perform that action at this time.
0 commit comments