2019-03-01 17:49:57 +00:00
|
|
|
; Returns the parameter for the current player character. The ASM always
|
|
|
|
; passes the 4 parameters with two 32-bit pushes, whose visual layout matches
|
|
|
|
; the parameter list:
|
|
|
|
;
|
|
|
|
; push ([for_reimu] shl 16) or [for_marisa]
|
|
|
|
; push ( [for_mima] shl 16) or [for_yuuka]
|
|
|
|
|
|
|
|
; int pascal far select_for_playchar(
|
|
|
|
; int for_reimu, int for_marisa,
|
|
|
|
; int for_mima, int for_yuuka
|
|
|
|
; );
|
2019-09-15 16:23:33 +00:00
|
|
|
public SELECT_FOR_PLAYCHAR
|
2019-03-01 17:49:57 +00:00
|
|
|
select_for_playchar proc far
|
|
|
|
mov al, playchar
|
|
|
|
jmp short select_for
|
|
|
|
select_for_playchar endp
|
|
|
|
nop
|