Quickstart Party Setup - HoraceAndTheSpider/Bloodwych-68k GitHub Wiki

Quickstart party setup

The SPS 439 title-menu routines QkPly1_Start and QkPly2_Start create the two authored Quickstart parties. They are not a search for the next four available champions: each routine writes a fixed four-byte party order.

Player Routine Champion order Start map position Initial direction
1 (blue) QkPly1_Start 0, 14, 5, 3 X $0C, Y $17, floor 3 North
2 (red) QkPly2_Start 4, 6, 13, 15 X $0E, Y $17, floor 3 North

The player record owns the active team's direction. QkPly1_Start sets its selected lead champion's saved direction byte $18 to zero before normal start-position transfer copies that value into the player direction field; the second-player setup repeats the same North initialisation. All four Quickstart members must consequently use that shared player direction when their team is shown. Their individual Champion Data $18 directions instead describe ordinary original placements and live saved-state records after the Quickstart team mode is not being used.

The menu's Player 2 routine first invokes Player 1 setup, then overwrites the player-two party order and start record. It also clears the one-player flag, enabling two-player mode.

See Bloodwych Champion Data Structure for champion record fields and Player Location Data for the live/save player locations.