Yep, this looks pretty much done to me, also:
Dang that's some HDMA.
In case you are wondering why it didn't work for you, you simply inserted the tables without the accompanying code for them, which basically crashes the game, your code for level138 should look like this:
level138:
LDA #$00
STA $4330
LDA #$02
STA $4340
LDA #$32
STA $4331
STA $4341
REP #$20
LDA.w #.138Table2
STA $4332
LDA.w #.138Table1
STA $4342
SEP #$20
LDA.b #.138Table2>>16
STA $4334
LDA.b #.138Table1>>16
STA $4344
LDA #$18
TSB $0D9F
RTS
.138Table1
db $01,$3E,$57
db $04,$3E,$58
db $04,$3E,$59
db $03,$3E,$5A
db $03,$3E,$5B
db $04,$3E,$5C
db $04,$3E,$5D
db $04,$3E,$5E
db $09,$3E,$5F
db $08,$3D,$5F
db $05,$3C,$5F
db $08,$3B,$5F
db $32,$3A,$5F
db $05,$3A,$5E
db $02,$3A,$5D
db $03,$39,$5D
db $04,$39,$5C
db $04,$39,$5B
db $04,$39,$5A
db $06,$39,$59
db $0C,$39,$58
db $05,$3A,$58
db $04,$3B,$58
db $06,$3C,$58
db $05,$3D,$58
db $07,$3E,$58
db $19,$3F,$58
db $0A,$3F,$57
db $00
.138Table2
db $25,$96
db $0B,$97
db $07,$98
db $09,$99
db $08,$9A
db $06,$9B
db $05,$9C
db $08,$9D
db $08,$9E
db $50,$9F
db $05,$9E
db $03,$9D
db $04,$9C
db $03,$9B
db $04,$9A
db $04,$99
db $05,$98
db $02,$97
db $00
RTS
Then, to make it work in the goal sublevel (and the levelinit), put this line of code into
levelinit138,
level1C9 and
levelinit1C9:
JSR level138
RTS
If anything breaks, well fuck me!
Also I got someone to code those blocks, gonna post here or edit this post when they're done (if they ever get done, you never know with Ixtab).
Your layout has been removed.