Jump to content

Editing Player Icons


Knobbe

Recommended Posts

Via a lost thread

 

Quote

Can someone suggest a course of action (HEX location / command strategy) for removing the Player Icons "1" and "2" on the Defensive side of the ball during in-game play? Are the different sides of the ball and where the icon is lined up denoted separately in the HEX? I figure if you use the skin color palette option of the four color options to redraw a football (which I've done) in place of the "1" and "2" above the heads of the Offensive players only, it would add a nice little player icon dynamic. The problem is removing the "1" and "2" from over the Defensive side of the ball. Since the rosters are separated I would assume this possible, but could be totally incorrect, where there is no way to "00-out" the tile pointers to the "1" and "2" in differentiating from either side of the game.

Anybody have a fix for this?

Mucho thanks.

 

Link to comment
Share on other sites

Via Jstout

 

The icons aren't separated by offense and defense. I haven't gotten to test this out yet beyond a few plays so I'll do that when I have the chance but this seemed to be working.

x3DC33 and x3DC7E:

20 70 BF  JSR $BF70
EA        NOP


x2BF80:

A5 70     LDA $70 ; Play Value
29 40     AND #$40
C9 40     CMP #$40
D0 0A     BNE :+
; Player 2 has Ball
A9 FE     LDA #$FE ; Set Player 1 Icon off screen
8D 00 02  STA $0200
A9 A3     LDA #$A3 ; Tile # of Football
A0 43     LDY #$43 ; Color Palette 3 and Flip Tile
60        RTS
; Player 1 has Ball
A9 FE   : LDA #$FE ; Set Player 2 Icon off screen
8D 04 02  STA $0204
A9 A3     LDA #$A3 ; Tile # of Football
A0 01     LDY #$01 ; Color Palette 1
60        RTS


x3DBFC and x3DC47 = Icon Height above player (x0C worked ok)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...