Originally posted by mengridwhere are the codes that adjust the p-meter in the status bar?
edit: (i´m talking of the p-meter patch)
Since what you're asking is quite vague, I'm going to go over everything I know about this patch by just looking over it.
If you are talking about the location of the p-meter on the status bar, then go near the end of the ASM file and find this:
Originally posted by ASM FileORG $8CA9
db $3D,$3C,$3D,$3C,$3D,$3C,$3D,$3C ;Arrange the statusbar so the P-meter can fit in...
db $3D,$3C,$3D,$3C,$3E,$3C,$3F,$3C ;
db $FC,$3C,$2E,$3C ;
The values I put in red are the triangles, and in green are the P logo. You can see towards the end of the code that $2E is the coin, so you don't have much space so move things around. If you really wish to move things around, go to your hex editor (don't edit anything) and see what you want to replace bu using this image:
The hex editor is useful as you know the address where you want to start, so if you want to get rid of the word 'MARIO', then you would change the address from ORG $8CA9 to $8C89, and edit the tiles accordingly, such that the coin graphics aren't there anymore (tile $2E). Note that every other value is the palette (I think, but you needn't change that.)
An example would look like this:
Originally posted by ASM FileORG $8C89
db $3D,$3C,$3D,$3C,$3D,$3C,$3D,$3C
db $3D,$3C,$3D,$3C,$3E,$3C,$3F,$3C
And then you would use SmallHacker's Status bar editor to move the lives counter, and then input an 'L' for lives or something.
If you want to just change what tiles are used, then find this towards the top of the ASM file:
Originally posted by ASM File!EmptyTri = $3D ;Empty tile of triangle
!FillTri = $70 ;Filled tile of triangle
!EmptyLP = $3E ;Empty tile of P, left side
!EmptyRP = $3F ;Empty tile of P, right side
!FillLP = $71 ;Filled tile of P, left side
!FillRP = $72 ;Filled tile of P, right side
And just change the values using YYCHR to get the tile numbers.
I hope I answered your question.